forked from sunwoo1524/krll
689 B
689 B
Krll
Krll, a privacy-friendly open source URL shortener
Run
- Copy
.env.example
to.env
and edit it
- NAME: Krll server's name(ex: Krll)
- HOST: Krll server's host(ex: https://krll.me)
- CONTACT: Server operator's contact info
- POSTGRES_...: PostgreSQL setting(If you'll run postgresql with docker compose, you should edit just 'POSTGRES_PASSWORD', if not, you should edit 'POSTGRES_HOST' to your postgresql's host.)
- RUN
# with docker compose
cp docker-compose.example.yml docker-compose.yml
docker compose up -d
# without docker compose
python -m venv venv
source ./venv/bin/activate/
pip install -r requirements.txt
uvicorn main:app --reload