aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-02-12 18:00:15 +0000
committerFrancis Irving <francis@mysociety.org>2010-02-12 18:00:15 +0000
commite716c486b2686acd2f53cb85b6034f89186bde8c (patch)
treef9a6adfa867938c2451db75b814c1b46af1a0ed6
parentb1b1aba60052c966fa18432958c7fc30cd278864 (diff)
Fix install instructions to reflect new paths in git.
-rwxr-xr-xINSTALL.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/INSTALL.txt b/INSTALL.txt
index 44c881fe2..d22b1e607 100755
--- a/INSTALL.txt
+++ b/INSTALL.txt
@@ -15,7 +15,8 @@ Commands are intended to be run via the terminal or over ssh.
1. Package Installation
-----------------------
-Firstly, in a terminal, navigate to the foi folder where this install guide lives.
+Firstly, in a terminal, navigate to the whatdotheyknow folder where this
+install guide lives.
Install the packages that are listed in config/packages using apt-get eg:
@@ -44,7 +45,7 @@ If you don't have it installed:
Now we need to set up the database config file to contain the name,
username and password of your postgres database.
-* copy database.yml-example to database.yml in foi/config
+* copy database.yml-example to database.yml in whatdotheyknow/config
* edit it to point to your local postgresql database in the development
and test sections and create the databases:
@@ -70,15 +71,14 @@ constraints whilst running the tests they also need to be a superuser.
3. Deployment
-------------
-In the 'mysociety' directory above 'foi', run
-
-> ./bin/rails-post-deploy foi
+In the 'whatdotheyknow' directory, run:
+> ./script/rails-post-deploy
(This will need execute privs so chmod 755 if necessary)
This sets up directory structures, creates logs, etc.
-Next, if you have a foi/config/rails_env.rb file, delete it, so that
+Next, if you have a whatdotheyknow/config/rails_env.rb file, delete it, so that
tests run against our test database, rather than the development one.
(Otherwise, any data you create in development will be blown away every
time you run the tests.)