https://github.com/tobi-de/leerming-lite
https://github.com/tobi-de/leerming-lite
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tobi-de/leerming-lite
- Owner: Tobi-De
- Created: 2024-03-29T08:52:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-29T00:24:14.000Z (over 1 year ago)
- Last Synced: 2025-02-26T09:12:22.822Z (8 months ago)
- Language: HTML
- Size: 1.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# leerming
[](https://github.com/Tobi-De/falco)
[](https://github.com/astral-sh/ruff)
[](https://github.com/pypa/hatch)## Prerequisites
- `Python 3.11+`
- `hatch 1.9.1+`## Development
### Create a new virtual environment
```shell
hatch shell
```### Install pre-commit
```shell
git init && pre-commit install
```Ensure that the Python version specified in your `.pre-commit-config.yaml` file aligns with the Python version installed on your system.
### Apply migrations
```shell
hatch run migrate
```### Create a superuser
Follow the tip described [here](https://falco.oluwatobi.dev/guides/tips_and_extra.html#create-superuser-from-environment-variables) and execute the command below to create a superuser.
```shell
python manage.py createsuperuser --no-input
```### Run the django development server
```shell
falco work
```