Files
dss/INSTALL
Fergal Moran 19f5eef15a Update INSTALL
2015-01-04 22:16:39 +00:00

26 lines
1002 B
Plaintext

apt-get install git python-virtualenv postgresql-common libsndfile1-dev libpng++-dev libpng12-dev libboost-program-options-dev libjpeg-dev python-dev sox make g++ libsndfile1-dev libpng++-dev libpng12-dev libboost-program-options-dev git-core make cmake gcc g++ libmad0-dev libsndfile1-dev \
libgd2-xpm-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev
virtualenv env
source env/bin/activate
git clone https://github.com/fergalmoran/dss.git dss
cd dss
pip install -r requirements.txt
#setup db host
sudo -u postgres createuser deepsouthsounds --no-superuser --createdb --no-createrole --pwprompt
sudo -u postgres createdb deepsouthsounds --owner deepsouthsounds
#skip this in production, start with a default
if production:
python manage.py dbrestore
else
python manage.py syncdb
python manage.py migrate
#re-run compressor (stale paths will be in db)
python manage.py compress --force
git clone https://github.com/fergalmoran/dss.lib lib