From bcdd73f611c28170703e5dfbc9f8c1c2b14868a2 Mon Sep 17 00:00:00 2001 From: Alexander Wong Date: Tue, 29 Aug 2017 15:25:06 -0600 Subject: [PATCH] setup development readme instructions --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..614fc5d --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# 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`