update scripts and readme with dependencies

This commit is contained in:
Matthew Scragg 2015-11-06 22:05:02 -06:00
parent 0b1c55f6a5
commit 96b583d63b
4 changed files with 7 additions and 6 deletions

View file

@ -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:

View file

@ -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

View file

@ -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

View file

@ -42,6 +42,7 @@ setup(name='realms-wiki',
'gunicorn==19.3',
'itsdangerous==0.24',
'markdown2==2.3.0',
'python-ldap==2.4.22',
'simplejson==3.6.3'
],
entry_points={