Go to file
2021-07-17 22:15:39 +00:00
.vscode Dockerizing 2021-03-20 16:52:56 -07:00
devops user log in finished 2021-07-15 22:00:26 -06:00
frontend working first spec 2021-07-17 12:09:34 -06:00
node_modules wip 2021-04-15 20:10:54 -06:00
server Allow filtering transactions by stack and month 2021-07-17 22:15:39 +00:00
.prettierrc cashstax database docs 2021-04-14 13:47:53 -07:00
docker-compose.backend.yml adding backend dockerfile 2021-07-15 17:14:51 -06:00
docker-compose.yml user log in finished 2021-07-15 22:00:26 -06:00
README.md mo' readme tweaks 2021-07-15 20:07:48 -06:00

Cash Dash Stacks

  • A simple way to track expenses
  • cash budgeting in digital mode

Setup (Docker)

$ git clone [this repo]

build containers

$ docker-compose build

OR build only backend

$ docker-compose -f docker-compose.backend.yml build

initialize database and seed data

$ docker-compose run --rm server bash
# Puts you into the command line in the server container
$ > python manage.py migrate
$ > python manage.py createsuperuser --email admin@westwinds.io --username admin
$ > exit
# You are now back in your machine bash

Running (Docker)

# Containers will all (re)start
$ docker-compose down && docker-compose up -d

backend only

$ docker-compose down && docker-compose -f docker-compose.backend.yml up -d

Setup (Not Docker)

Frontend

$ cd frontend
$ npm i

Backend

$ cd server
$ virtualenv -p python3 env
$ source env/bin/activate
(env) $ pip install -r requirements.txt
(env) $ python manage.py makemigrations
(env) $ python manage.py migrate
(env) $ python manage.py seed
(env) $ DEBUG=true python manage.py runserver 0.0.0.0:8000

Running (Not Docker)

frontend

$ cd frontend
$ npm run start

backend

$ 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
  • view spending trends

Todo

https://github.com/dank-inc/cash-stacks/projects