mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	Update by-hand installation instructions to include node/npm
This commit is contained in:
		@@ -111,6 +111,7 @@ instructions should work.
 | 
				
			|||||||
Install the following non-Python dependencies:
 | 
					Install the following non-Python dependencies:
 | 
				
			||||||
 * libffi-dev — needed for some Python extensions
 | 
					 * libffi-dev — needed for some Python extensions
 | 
				
			||||||
 * postgresql 9.1 or later — our database (also install development headers)
 | 
					 * postgresql 9.1 or later — our database (also install development headers)
 | 
				
			||||||
 | 
					 * nodejs 0.10 (and npm)
 | 
				
			||||||
 * memcached (and headers)
 | 
					 * memcached (and headers)
 | 
				
			||||||
 * rabbitmq-server
 | 
					 * rabbitmq-server
 | 
				
			||||||
 * libldap2-dev
 | 
					 * libldap2-dev
 | 
				
			||||||
@@ -122,7 +123,7 @@ Install the following non-Python dependencies:
 | 
				
			|||||||
### On Debian or Ubuntu systems:
 | 
					### 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:
 | 
					# If on 12.04 or wheezy:
 | 
				
			||||||
sudo apt-get install postgresql-9.1
 | 
					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!
 | 
					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.
 | 
					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
 | 
					pip install -r requirements.txt
 | 
				
			||||||
 | 
					npm install
 | 
				
			||||||
./tools/download-zxcvbn
 | 
					./tools/download-zxcvbn
 | 
				
			||||||
./tools/emoji_dump/build_emoji
 | 
					./tools/emoji_dump/build_emoji
 | 
				
			||||||
./scripts/setup/generate_secrets.py -d
 | 
					./scripts/setup/generate_secrets.py -d
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user