If you want to install Crestify on your own, follow along!
(Do keep in mind that package names could differ based on your distro)
Python (& lib requirements): python-virtualenv python-dev python-pip libxslt1-dev libxml2-dev
RabbitMQ: rabbitmq-server
PostgreSQL: postgresql-9.4 postgresql-server-dev-9.4 postgresql-contrib-9.4
Redis: redis-server
PhantomJS: phantomjs
Supervisor: supervisor
With homebrew, these are the packages you need to install:
Python: python libxml2
RabbitMQ: rabbitmq
PostgreSQL: Use Postgres.app
Redis: redis
PhantomJS: phantomjs
Supervisor: Install via pip
Please use the Vagrant image
- Clone this repo and
cd
into it - Create a Python 2.7 virtualenv with
virtualenv-2.7 venv
- Activate the virtualenv with
source venv/bin/activate
- Install all the required Python dependencies with
pip install -r requirements.txt
- Rename
sample_override.py
tooverride.py
- Rename the
sample.env
file to.env
and change the value ofCRESTIFY_CONFIG_FILE
to the absolute path of youroverride.py
file - Start RabbitMQ in another terminal window using
service rabbit-server start
orrabbitmq-server
- To setup/upgrade the database do
honcho run python main.py db upgrade
- Finally start the application with
honcho start
. The application should be visible on http://localhost:8000/
For more info, please see fabfile.py
.