diff options
-rw-r--r-- | INSTALL.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/INSTALL.txt b/INSTALL.txt index da8d52384..5782b2b6f 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -14,10 +14,10 @@ Commands are intended to be run via the terminal or over ssh. 1. Package Installation ----------------------- -(i.e. Install git (sudo apt-get install git-core), - to get whatdotheyknow code from alaveteli: git clone https://github.com/sebbacon/alaveteli.git) +i.e. Install git (sudo apt-get install git-core), +to get the alaveteli code from github: git clone https://github.com/sebbacon/alaveteli.git -Firstly, in a terminal, navigate to the whatdotheyknow folder where this +Firstly, in a terminal, navigate to the alaveteli folder where this install guide lives. Install the packages that are listed in config/packages using apt-get e.g.: @@ -54,7 +54,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 whatdotheyknow/config +* copy database.yml-example to database.yml in alaveteli/config * edit it to point to your local postgresql database in the development and test sections and create the databases: @@ -83,14 +83,14 @@ constraints whilst running the tests they also need to be a superuser. 3. Deployment ------------- -In the 'whatdotheyknow' directory, run: +In the 'alaveteli' 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 whatdotheyknow/config/rails_env.rb file, delete it, so that +Next, if you have a alaveteli/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.) @@ -196,7 +196,7 @@ each email received; patches welcome! 9. Cron jobs ------------ -config/cron.ugly contains the cronjobs we run on WhatDoTheyKnow. It's +config/crontab.ugly contains the cronjobs we run on WhatDoTheyKnow. It's in a strange templating format we use in mySociety, but you should be able to work out the syntax and variables fairly easily :) |