Help users collaborate to create a story
Requirements doc link: https://docs.google.com/document/d/1_Qe9gLCWgj5HU392kDw_kjfmay6k7IyPlHXdTjdOv9I/edit?ts=5928fde6#heading=h.xsgmz741a8v1
Steps to create database
- Login to postgres shell $ sudo -u postgres psql
- Create database $ create database story_teller;
- Create user $ create user hashy with password 'bambi';
- Grant db privileges to user $ grant all privileges on database story_teller to hashy;
Steps to run application
- go to story_teller folder
- run 'virtualenv venv'
- run 'source venv/bin/activate'
- run 'pip install -r requirements.text' to install all requirements.
- run $ export PYTHONPATH='.'
- run $ alembic upgrade head
- run $ python manage.py runserver