Go to file
2018-07-23 22:54:40 +00:00
caremyway Don't cascade delete 2018-07-23 22:54:40 +00:00
.gitignore Initial commit 2017-05-27 02:26:52 +00:00
manage.py Set up blank project from DRF quickstart instructions 2017-05-27 02:27:02 +00:00
README.md no such table err fix 2018-01-21 16:03:46 -07:00
requirements.txt Add requirements.txt 2017-08-26 18:04:21 +00:00

CareMyWay

Development (Quickstart)

  • Ensure you have virtualenv installed pip install virtualenv
    • virtualenv --version
    • # 15.1.0
  • Ensure you have python3
    • which python3
    • # /usr/local/bin/python3
  • Setup the virtual environment with python3
    • virtualenv -p /usr/local/bin/python3 venv
  • Activate the environment, install dependencies, perform DB migration
    • source venv/bin/activate
    • pip install -r requirements.txt
    • python manage.py migrate
    • python manage.py runserver

If you get ano such table error, try: python manage.py migrate --run-syncdb