Remove PyPi build, convert project to not be a python module, add Docker build and files, update README,

This commit is contained in:
csd4ni3l
2025-10-23 11:01:21 +02:00
parent a9b5a53bdb
commit 391d55edba
16 changed files with 77 additions and 60 deletions

View File

@@ -1,4 +1,4 @@
LoginWeen is a an app where you login/register with a halloween pumpkin carving as a password.
LoginWeen is an app where you login/register with a halloween pumpkin carving as a password.
Live Demo (coming soon!): https://loginween.csd4ni3l.hu
@@ -7,13 +7,17 @@ Live Demo (coming soon!): https://loginween.csd4ni3l.hu
## Download source & use uv
- Download source and change to it's directory
- copy `.env.example` to `.env` and update the settings as you like.
- `uv run loginween`
- `uv run app.py`
## Download source & use pip
- Download source and change to it's directory
- copy `.env.example` to `.env` and update the settings as you like.
- Copy `.env.example` to `.env` and update the settings as you like.
- **Optionally**, make and activate a virtual environment: `python3 -m venv .venv` and `source .venv/bin/activate`
- `pip3 install -r requirements.txt`
- `python3 loginween/app.py`
- `python3 app.py`
## Docker
- Coming soon!
## Docker CLI
- Run `docker run --name loginween -p 8080:8080 -e HOST=0.0.0.0 -e PORT=8080 -e DB_FILE=data.db -e APP_KEY=changeme -e DEBUG_MODE=true -v ./data.db:/app/data.db --restart unless-stopped csd4ni3lofficial/loginween:latest` and change the parameters
## Docker Compose
- Download the `docker-compose.yml` file from this repo and run `docker compose up -d` next to it.