bozdoz / squint

Criticize your financial losses
MIT License
1 stars 0 forks source link

Squint

Take a good look at all the ways you can lose money

Getting Started

  1. Copy .env-example to .env
cp .env-example .env
  1. Start up Docker:
docker-compose up
  1. View http://localhost:1999

Development

  1. Copy .env-example to .env
cp .env-example .env
  1. Use VSCode and VSCode Dev Containers
  2. Start it up in a Dev Container
  3. cd into 'app' (from /workspaces):
cd app
  1. Create the admin (see app/home/management/commands/createsu.py):
python manage.py createsu
  1. (optional) make any db migration changes (if you're changing models.py anywhere; for example, transactions):
python manage.py makemigrations transactions
python manage.py migrate
  1. Start the dev server:
python manage.py runserver 0.0.0.0:8000
  1. (probably) navigate to http://localhost:1999 (see .env file for the default port)

Tech