You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2017/05/09 18:30:58 UTC

[23/27] incubator-trafficcontrol git commit: added README.md

added README.md


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/9788eab1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/9788eab1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/9788eab1

Branch: refs/heads/master
Commit: 9788eab12116efa5031459face1f7581bc2c2f86
Parents: cf4f4c0
Author: Dewayne Richardson <de...@apache.org>
Authored: Tue May 9 07:57:19 2017 -0600
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Tue May 9 18:28:59 2017 +0000

----------------------------------------------------------------------
 traffic_ops/install/data/profiles/README.md | 38 ++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/9788eab1/traffic_ops/install/data/profiles/README.md
----------------------------------------------------------------------
diff --git a/traffic_ops/install/data/profiles/README.md b/traffic_ops/install/data/profiles/README.md
new file mode 100644
index 0000000..b45adfd
--- /dev/null
+++ b/traffic_ops/install/data/profiles/README.md
@@ -0,0 +1,38 @@
+
+# Profiles:
+ 
+- This directory contains sample profiles that can be loaded in to a new
+  instance of Traffic Ops.  
+  
+## Load Sample Profiles
+
+### Prerequisites:
+
+  * Postgres database is setup
+  * Traffic Ops RPM is installed and configured to point to the Postgres Database
+  * Traffic Ops `/opt/traffic_ops/install/bin/postinstall` has been run to create the tables, seed with data, and tables migrated
+
+- To build the profiles to be loaded above one can `export` profiles from a Traffic Ops Instance 
+ with production data
+
+  After a successful `postinstall` execution.  Run the following commands from the new Traffic Ops instance
+  ```
+  $ cd /opt/traffic_ops/install/data/profiles
+  $ ./load_profiles.sh
+  ```
+----
+## Export Sample Profiles
+
+### Prerequisites:
+
+  * Postgres database with production data
+  * Traffic Ops RPM is installed and configured to point to the appropriate Postgres database
+  * Verify that the `$lookupTable` variable matches the `latest_` profiles in your production database with the `export_profiles.pl` script.
+
+
+  After a successful `postinstall` execution.  Run the following command from the new Traffic Ops instance
+  ```
+  $ cd /opt/traffic_ops/install/data/profiles
+  $ ./export_profiles.pl
+  ```
+