Presentation: https://docs.google.com/presentation/d/1J7i5hto65hBXedNJehDo9axlp2BxMuU2CFaOpW1bFJE
- postgresql
- python2.7.*
git clone git@github.com:HackTheDinos/frickfeed.git
mkvirtualenv frickfeed
workon frickfeed
pip install -r requirements/base.txt
export DJANGO_SETTINGS_MODULE=frickfeed.settings.base
createuser -s postgres
psql -U postgres
CREATE DATABASE frickdb;
CREATE USER frick WITH PASSWORD 'frickpass';
GRANT ALL PRIVILEGES ON DATABASE frickdb TO frick;
\q
./manage.py createsuperuser
Follow the prompts:
Username (leave blank to use 'gregthompson'): frick
Email address:
Password: frickpassword
Password (again): frickpassword
Superuser created successfully.
python manage.py migrate
python manage.py loaddata dummy_data.json
python manage.py loaddata auth_sites.json
python manage.py loaddata auth_social_accounts.json
./manage.py runserver