The official site of szulabs.
- Install pyenv and pyenv-up by following the guides.
- Install Python 3.4.2 via pyenv:
pyenv install 3.4.2 - Install Node.js and PostgreSQL via your system package management. (
apt-get,yum,brewand more) - Install the latest Honcho via pipsi:
pipsi install http://git.io/ZLc33g - Install the Gulp in global:
npm install -g gulp
- Fork and clone the project repository:
git clone git@github.com:<yourname>/pastry.git - Go into the project's directory:
cd pastry - Install the frontend dependencies:
(pyenv shell system && npm install) - Go into the [virtualenv][virtualenv]:
pyenv up - Install the backend dependencies:
make install-deps
- Edit your local environment variable file from the
.env.exampletemplate:cp .env.example .env && vim .env - Make sure you are in the virtualenv opening by
pyenv up - Prepare the database:
- Create a empty PostgreSQL database:
createdb pastry - Migrate to the latest schema:
python manage.py migrate - Create your administrator account:
python manage.py createsuperuser
- Run
honcho startand accesshttp://127.0.0.1:5000/in your browser, andhttp://127.0.0.1:5100is a BrowserSync proxy server which can be more convenient in frontend development.
Feel free to ask in the #szulabs IRC channel on chat.freenode.net.