update scripts and readme with dependencies
This commit is contained in:
parent
0b1c55f6a5
commit
96b583d63b
|
@ -42,11 +42,11 @@ You will need the following packages to get started:
|
|||
|
||||
#### Ubuntu
|
||||
|
||||
sudo apt-get install -y python-pip python-dev libxml2-dev libxslt1-dev zlib1g-dev libffi-dev libyaml-dev libssl-dev
|
||||
sudo apt-get install -y python-pip python-dev libxml2-dev libxslt1-dev zlib1g-dev libffi-dev libyaml-dev libssl-dev libsasl2-dev libldap2-dev
|
||||
|
||||
#### CentOS / RHEL
|
||||
|
||||
yum install -y python-pip python-devel.x86_64 libxslt-devel.x86_64 libxml2-devel.x86_64 libffi-devel.x86_64 libyaml-devel.x86_64 libxslt-devel.x86_64 zlib-devel.x86_64 openssl-devel.x86_64 python-pbr gcc
|
||||
yum install -y python-pip python-devel.x86_64 libxslt-devel.x86_64 libxml2-devel.x86_64 libffi-devel.x86_64 libyaml-devel.x86_64 libxslt-devel.x86_64 zlib-devel.x86_64 openssl-devel.x86_64 openldap2-devel cyrus-sasl-devel python-pbr gcc
|
||||
|
||||
#### OSX / Windows
|
||||
|
||||
|
@ -68,7 +68,7 @@ The easiest way. Install it using Python Package Index:
|
|||
sudo apt-get install -y software-properties-common python-software-properties
|
||||
sudo add-apt-repository -y ppa:chris-lea/node.js
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y nodejs python-pip python-dev libxml2-dev libxslt1-dev zlib1g-dev libffi-dev libyaml-dev libssl-dev
|
||||
sudo apt-get install -y nodejs python-pip python-dev libxml2-dev libxslt1-dev zlib1g-dev libffi-dev libyaml-dev libssl-dev libsasl2-dev libldap2-dev
|
||||
sudo npm install -g bower
|
||||
bower install
|
||||
|
||||
|
@ -292,7 +292,7 @@ After your config is in place use the following commands:
|
|||
sudo restart realms-wiki
|
||||
|
||||
|
||||
### Developement mode
|
||||
### Development mode
|
||||
|
||||
This will start the server in the foreground with auto reloaded enabled:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
FROM realms/base
|
||||
|
||||
# Packages
|
||||
RUN apt-get update && apt-get install -y build-essential python-pip python-virtualenv python-dev zlib1g-dev libffi-dev libyaml-dev
|
||||
RUN apt-get update && apt-get install -y build-essential python-pip python-virtualenv python-dev zlib1g-dev libffi-dev libyaml-dev libldap2-dev libsasl2-dev
|
||||
|
||||
# lxml deps
|
||||
# libxml2-dev libxslt1-dev
|
||||
|
|
|
@ -25,7 +25,7 @@ sudo apt-get update
|
|||
|
||||
sudo apt-get install -y python build-essential pkg-config git \
|
||||
python-pip python-virtualenv python-dev zlib1g-dev libldap2-dev libsasl2-dev \
|
||||
libffi-dev libyaml-dev libssl-dev nodejs
|
||||
libffi-dev libyaml-dev libssl-dev libldap2-dev libsasl2-dev nodejs
|
||||
|
||||
# Create swap file because ES eats up RAM and 14.04 doesn't have swap by default
|
||||
sudo fallocate -l 1G /swapfile
|
||||
|
|
Loading…
Reference in a new issue