cash-stacks/README.md

73 lines
1.3 KiB
Markdown
Raw Normal View History

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
```
# Running (Docker)
```sh
2021-07-14 22:29:41 +00:00
# Containers will all start
$ docker-compose down && docker-compose up -d
```
_backend only_
```sh
$ docker-compose down && docker-compose -f docker-compose.backend.yml up -d
2021-07-14 22:29:41 +00:00
```
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
2021-07-16 00:13:12 +00:00
(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
2021-07-15 23:18:12 +00:00
```
# 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