Learning django by creating a budgeting application
  • Python 60.7%
  • HTML 36%
  • JavaScript 1.6%
  • Shell 0.7%
  • Nix 0.5%
  • Other 0.5%
Find a file
James Makela 1f25dda911
Some checks are pending
Django CI / test-suite (push) Waiting to run
Fix up edit income allocation
2026-06-01 15:16:43 +08:00
.forgejo/workflows Potentially overengineered podman/docker setup complete 2026-05-13 11:35:33 +08:00
apps Fix up edit income allocation 2026-06-01 15:16:43 +08:00
budgetmaker Add basic costs overview with totals 2026-05-31 15:53:41 +08:00
static Tweak stubs 2026-05-14 14:15:26 +08:00
templates Move to display end date in dashboard 2026-05-21 11:55:33 +08:00
.dockerignore Fix up docker/podman situation 2026-05-18 12:43:29 +08:00
.env.example Fix up scripts and .env compatability 2026-05-18 13:42:23 +08:00
.flake8 Add pre-commit and complete cleanup of files 2026-05-03 21:45:41 +08:00
.gitignore Complete implementation of email as username, and uuid for transactions 2026-05-18 12:43:29 +08:00
.podmanignore Fix up docker/podman situation 2026-05-18 12:43:29 +08:00
.pre-commit-config.yaml Move to local htmx 2026-05-12 11:28:44 +08:00
docker-compose.override.yml Fix up docker/podman situation 2026-05-18 12:43:29 +08:00
docker-compose.prod.yml Fix up docker/podman run scripts 2026-05-18 14:02:51 +08:00
docker-compose.yml Docker fixes 2026-05-16 16:57:33 +08:00
Dockerfile Fix up docker/podman situation 2026-05-18 12:43:29 +08:00
entrypoint.sh Fix migration on run container 2026-05-18 13:02:47 +08:00
LICENSE.txt Add LICENCE.txt 2026-05-02 21:26:13 +08:00
manage.py Add pre-commit and complete cleanup of files 2026-05-03 21:45:41 +08:00
package-lock.json Add startup scripts 2026-05-18 13:19:14 +08:00
package.json Refactor to sidebar navigation 2026-05-01 14:53:02 +08:00
pyproject.toml Update pyproject.toml 2026-05-07 20:13:44 +08:00
README.md Add installation instructions to README.md 2026-05-18 20:22:22 +08:00
requirements-dev.txt Clean up dev requirements 2026-05-13 12:03:24 +08:00
requirements.txt Complete implementation of email as username, and uuid for transactions 2026-05-18 12:43:29 +08:00
shell.nix Clean up shell.nix 2026-05-18 20:22:08 +08:00
start-dev.sh Remove container checks 2026-05-18 14:42:55 +08:00
start.sh Build on start 2026-05-18 14:44:32 +08:00

bYolk

Nest Egg -> Egg Yolk + Broke = bYolk

Frameworks and Technologies used:

  • Django
  • DaisyUI
  • Docker/Podman

Installation instructions

Linux

Fedora

  1. Download and install Docker - Instructions can be found here: https://docs.docker.com/desktop/setup/install/linux/fedora/
  2. Clone the repository, or download as a zip and extract
git clone https://git.silverbricc.com/JamesMakela/bYolk.git
  1. Navigate to the directory in your terminal
  2. Copy the .env.example to .env
cp .env.example .env

5. Open and edit the .env file in your text editor 1. Set the db password to a password of your choosing 2. Set the django secret key - You can generate this with the below:

python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'
  1. If you are running in production mode, you will need to set the CSRF_TRUSTED_ORIGINS and ALLOWED_HOSTS in the .env file
  2. Ensure NPM is installed - instructions here: https://nodejs.org/en/download
  3. Run with ./start-dev.sh, or ./start.sh if running in production mode
  4. Access the application at either 127.0.0.1:8000 or the URL you have set up if running in production

NixOS

  1. Ensure you have direnv installed: https://wiki.nixos.org/wiki/Direnv
  2. Clone the repository, or download as a zip and extract
  3. Navigate to the directory in your terminal
  4. Copy the .env.example to .env
cp .env.example .env

5. Open and edit the .env file in your text editor as above - You may want to set the CONTAINER_RUNTIME in the .env file to podman, or change the shell.nix to use docker if you prefer 6. In your terminal type direnv allow 7. Run with ./start-dev.sh, or ./start.sh if running in production mode 8. Access the application at either 127.0.0.1:8000 or the URL you have set up if running in production

Windows

  • Instructions to come later