From f216adb3b2a60df6e14b166b86b148128ac46922 Mon Sep 17 00:00:00 2001 From: Elijah Lucian Date: Thu, 15 Jul 2021 17:18:12 -0600 Subject: [PATCH] readme updated --- README.md | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 19fed21..90a1741 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ - A simple way to track expenses - cash budgeting in digital mode -# Setup +# Setup (Docker) ```sh $ git clone [this repo] @@ -18,6 +18,37 @@ $ docker-compose down && docker-compose up -d # Containers will all start ``` +# Setup (Not Docker) + +```sh +$ cd frontend +$ npm i +$ cd .. +$ cd server +$ virtualenv -p python3 env +$ source env/bin/activate +(env) $ pip install -r requirements.txt +(env) $ python manage.py migrate --run-syncdb +(env) $ python manage.py createsuperuser --email admin@example.com --username admin +``` + +# Running (Not Docker) + +_frontend_ + +```sh +$ cd frontend +$ npm run start +``` + +_backend_ + +```sh +$ cd server +$ source env/bin/activate +(env) $ DEBUG=true python manage.py runserver 0.0.0.0:8000 +``` + # Ideas - put items in your wishlist and track savings to buy big-ticket items