Skip to content

AccentDesign/snippets

Repository files navigation

Snippets

Website for storing code snippets.

Screenshot

Screenshot Screenshot Screenshot

Getting Started

docker compose up --watch

Python Packages

See the docs for more information.

install:

./run.sh uv add <package==1.0.0>
./run.sh uv add --group dev <package==1.0.0>

remove:

./run.sh uv remove <package>
./run.sh uv remove --group dev <package>

Auto Code Linting

./run.sh uv run ruff format .
./run.sh uv run ruff check --fix .

Django Stuff

migrate:

./run.sh uv run manage.py migrate

create yourself a superuser:

./run.sh uv run manage.py createsuperuser --email=admin@example.com --first_name=Admin --last_name=User