Krll, a privacy-friendly open source URL shortener
- Copy
.env.exampleto.envand edit it
NAME: Krll server's name(ex: Krll)HOST: Krll server's host(ex: https://krll.me)CONTACT: Server operator's contact infoPOSTGRES_...: PostgreSQL setting(If you'll run postgresql with docker compose, you should edit justPOSTGRES_PASSWORD, if not, you should editPOSTGRES_HOSTto your postgresql's host.)
- Run
# with docker compose
cp docker-compose.example.yml docker-compose.yml
docker compose up -d
# without docker compose
# You need an external PostgreSQL server
python -m venv venv
source ./venv/bin/activate/ # ./venv/Scripts/activate
pip install -r requirements.txt
fastapi dev main.py- Create an admin account
# with docker compose
docker exec -it krll-web-1 python main.py create_admin
# without docker compose
source ./venv/bin/activate/ # ./venv/Scripts/activate
python main.py create_adminGo to https://<your krll instance address>/admin to use the admin dashboard.