You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
5 years ago | |
---|---|---|
caremyway | 5 years ago | |
.gitignore | 6 years ago | |
README.md | 6 years ago | |
manage.py | 6 years ago | |
requirements.txt | 6 years ago |
README.md
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