You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2015/07/10 11:52:46 UTC

[2/6] allura git commit: [#5943] ticket:815 Mention how to run paster-app w/o creating test data in INSTALL*.markown

[#5943] ticket:815 Mention how to run paster-app w/o creating test data in INSTALL*.markown


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/dc81b641
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/dc81b641
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/dc81b641

Branch: refs/heads/ib/5943
Commit: dc81b64149b85dc1fc0610eeea09cc3114814c9f
Parents: 0004eeb
Author: Igor Bondarenko <je...@gmail.com>
Authored: Thu Jul 9 17:20:59 2015 +0300
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Thu Jul 9 17:20:59 2015 +0300

----------------------------------------------------------------------
 INSTALL-docker.markdown | 4 ++++
 INSTALL.markdown        | 6 ++++++
 2 files changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/dc81b641/INSTALL-docker.markdown
----------------------------------------------------------------------
diff --git a/INSTALL-docker.markdown b/INSTALL-docker.markdown
index 5330084..923b080 100644
--- a/INSTALL-docker.markdown
+++ b/INSTALL-docker.markdown
@@ -72,6 +72,10 @@ Initialize database with test data:
 
     ~$ docker-compose run web bash -c 'cd Allura && paster setup-app docker-dev.ini'
 
+If you want to skip test data creation you can instead run:
+
+    ~$ docker-compose run web bash -c 'cd Allura && ALLURA_TEST_DATA=False paster setup-app docker-dev.ini'
+
 Start containers in background:
 
     ~$ docker-compose up -d

http://git-wip-us.apache.org/repos/asf/allura/blob/dc81b641/INSTALL.markdown
----------------------------------------------------------------------
diff --git a/INSTALL.markdown b/INSTALL.markdown
index d141988..361afb2 100644
--- a/INSTALL.markdown
+++ b/INSTALL.markdown
@@ -139,8 +139,14 @@ Allura uses a background task service called "taskd" to do async tasks like send
 
 In order to initialize the Allura database, you'll need to run the following:
 
+For development setup:
+
     (env-allura)~/src/allura/Allura$ paster setup-app development.ini
 
+For production setup:
+
+    (env-allura)~/src/allura/Allura$ ALLURA_TEST_DATA=False paster setup-app development.ini
+
 This shouldn't take too long, but it will start the taskd server doing tons of stuff in the background.  Once this is done, you can start the application server:
 
     (env-allura)~/src/allura/Allura$ nohup paster serve --reload development.ini  > /var/log/allura/allura.log 2>&1 &