60 lines
1.1 KiB
Markdown
60 lines
1.1 KiB
Markdown
# Cash Dash Stacks
|
|
|
|
- A simple way to track expenses
|
|
- cash budgeting in digital mode
|
|
|
|
# Setup (Docker)
|
|
|
|
```sh
|
|
$ git clone [this repo]
|
|
$ docker-compose build
|
|
$ 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@example.com --username admin
|
|
$ > exit
|
|
# You are now back in your machine bash
|
|
$ 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
|
|
- view spending trends
|
|
|
|
# Todo
|
|
|
|
https://github.com/dank-inc/cash-stacks/projects
|