caremyway/README.md
2018-01-21 16:03:46 -07:00

20 lines
603 B
Markdown

# 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`