git clone git@github.com:sprintly/sprint.ly.git
brew install python
brew install memcached
brew install libmemcached
brew install mysql
brew install pv
For memcached and mysql, make sure that you setup the package's daemon and/or start it manually. More instructions can be found with brew info <package>
.
pip install virtualenv
virtualenv .
source bin/activate
pip install -r requirements/development.txt
pip install pylibmc
fab create_overrides
cd snowbird
make settings.py
cd ..
fab fetch_dump
fab load_dump
make js css
./snowbird/manage.py migrate
./snowbird/manage.py migrate --delete-ghost-migrations
This assumes a working Node/npm and homebrew installs
Start the server with:
./snowbird/manage.py runseever
./snowbird/manage.py celeryd -l INFO
Whenever you lose internet, you'll need to kill and restart Celery, otherwiser pusher events may stop working.
For future reference, some issues so far:
grunt require:main
is throwing multiple instances of module 'debug' not found when running as part of make js css./snowbird/manager.py celeryd -l INFO
is throwing "ImportError: No module named django.core.management" Solid leads on Stack Overflow so far, but maybe something that can change in their README