Update by-hand installation instructions to include node/npm

This commit is contained in:
Allie Jones
2015-11-17 12:59:21 -05:00
committed by Tim Abbott
parent 1a01e65be2
commit 8f24beec21

View File

@@ -111,6 +111,7 @@ instructions should work.
Install the following non-Python dependencies:
* libffi-dev — needed for some Python extensions
* postgresql 9.1 or later — our database (also install development headers)
* nodejs 0.10 (and npm)
* memcached (and headers)
* rabbitmq-server
* libldap2-dev
@@ -122,7 +123,7 @@ Install the following non-Python dependencies:
### On Debian or Ubuntu systems:
```
sudo apt-get install libffi-dev memcached rabbitmq-server libldap2-dev python-dev redis-server postgresql-server-dev-all libmemcached-dev libfreetype6-dev
sudo apt-get install libffi-dev memcached rabbitmq-server libldap2-dev python-dev redis-server postgresql-server-dev-all libmemcached-dev libfreetype6-dev nodejs nodejs-legacy npm
# If on 12.04 or wheezy:
sudo apt-get install postgresql-9.1
@@ -147,7 +148,7 @@ Now continue with the "All systems" instructions below.
These instructions are experimental and may have bugs; patches welcome!
```
sudo dnf install libffi-devel memcached rabbitmq-server openldap-devel python-devel redis postgresql-server postgresql-devel postgresql libmemcached-devel freetype-devel
sudo dnf install libffi-devel memcached rabbitmq-server openldap-devel python-devel redis postgresql-server postgresql-devel postgresql libmemcached-devel freetype-devel nodejs npm
```
Now continue with the Common to Fedora/CentOS instructions below.
@@ -238,6 +239,7 @@ Finally continue with the All Systems instructions below.
```
pip install -r requirements.txt
npm install
./tools/download-zxcvbn
./tools/emoji_dump/build_emoji
./scripts/setup/generate_secrets.py -d