2021-07-13 23:47:28 +00:00
|
|
|
# Cash Dash Stacks
|
2021-03-17 02:15:33 +00:00
|
|
|
|
2021-07-13 23:47:28 +00:00
|
|
|
- A simple way to track expenses
|
|
|
|
- cash budgeting in digital mode
|
2021-03-17 02:15:33 +00:00
|
|
|
|
2021-07-15 23:18:12 +00:00
|
|
|
# Setup (Docker)
|
2021-07-14 22:29:41 +00:00
|
|
|
|
|
|
|
```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
|
|
|
|
```
|
|
|
|
|
2021-07-15 23:18:12 +00:00
|
|
|
# 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
|
|
|
|
```
|
|
|
|
|
2021-07-13 23:47:28 +00:00
|
|
|
# Ideas
|
2021-03-20 23:52:56 +00:00
|
|
|
|
2021-07-13 23:47:28 +00:00
|
|
|
- put items in your wishlist and track savings to buy big-ticket items
|
|
|
|
- view spending trends
|
2021-03-20 23:52:56 +00:00
|
|
|
|
2021-07-13 23:47:28 +00:00
|
|
|
# Todo
|
2021-03-20 23:52:56 +00:00
|
|
|
|
2021-07-13 23:47:28 +00:00
|
|
|
https://github.com/dank-inc/cash-stacks/projects
|