diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-07-04 11:12:21 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-07-04 11:12:21 +0100 |
commit | 765d7fa16a428ec296d2278bc369d3680c7afaac (patch) | |
tree | 16d3ede6a3eb74bc90b4b1fe16126ef6f4f8a74f /doc/INSTALL.md | |
parent | a9f1d84e7810936f7917c8a367b4713ea77554c9 (diff) | |
parent | d95a5eb0b6aaba3a0d88ab0f2fe4c948c051ecc9 (diff) |
Merge branch 'release/0.6.2'0.6.2
Conflicts:
doc/INSTALL.md
Diffstat (limited to 'doc/INSTALL.md')
-rw-r--r-- | doc/INSTALL.md | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/doc/INSTALL.md b/doc/INSTALL.md index af54da108..325ccfbdd 100644 --- a/doc/INSTALL.md +++ b/doc/INSTALL.md @@ -2,7 +2,7 @@ These instructions assume Debian Squeeze or Ubuntu 10.04 LTS. [Install instructions for OS X](https://github.com/sebbacon/alaveteli/wiki/OS-X-Quickstart) are under development. Debian Squeeze is the best supported deployment platform. - + Commands are intended to be run via the terminal or over ssh. As an aid to evaluation, there is an @@ -33,15 +33,17 @@ used to parse documents, host the site, etc. There are also packages that contain headers necessary to compile some of the gem dependencies in the next step. -If you are running Debian, you can use specially compiled mysociety -packages by adding the following to `/etc/apt/sources.list` and -running `apt-get update`: +If you are running Debian, add the following repositories to +`/etc/apt/sources.list` and run `apt-get update`: deb http://debian.mysociety.org squeeze main + deb http://ftp.debian.org/debian/ testing main non-free contrib -If you don't set up that mySociety Debian source (e.g. if you're -running Ubuntu), you should comment out `wkhtmltopdf-static` from -`config/packages`, as it won't install in the next step +The repositories above allow us to install the packages +`wkthmltopdf-static` and `bundler` using `apt`; so if you're running +Ubuntu, you won't be able to use the above repositories, and you will +need to comment out those two lines in `config/packages` before +following the next step (and install bundler manually). Now install the packages that are listed in config/packages using apt-get e.g.: @@ -54,7 +56,7 @@ Some of the files also have a version number listed in config/packages # Install Ruby dependencies -Install rubygems 1.6.1 (we're not using the Debian package because we +Install rubygems 1.6.2 (we're not using the Debian package because we need an older version; see "Troubleshooting" below for an explanation): @@ -471,8 +473,4 @@ various other things that can be automated for deployment. deployments), you may need to do something like: ln -s /usr/lib/ruby/gems/1.8/bin/rake /usr/local/bin/ - - Or (Debian): - - ln -s /usr/lib/ruby/gems/1.8/bin/rake /usr/local/bin/ |