Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

Link shortener

Works like bit.ly, but has the ability to customize preview images and other open graph tags. So you can customize how a link looks if you share it on facebook, twitter and co.

Setup

Clone repository

docker-compose up -d 

Deployment

docker-compose -f docker-compose.prod.yml up -d
docker-compose -f docker-compose.prod.yml exec web python manage.py migrate
docker-compose -f docker-compose.prod.yml exec web python manage.py collectstatic --no-input
docker-compose -f docker-compose.prod.yml exec web python manage.py createsuperuser

For production copy .env.dev to .env.prod and change passwords and keys. Change trafik labels to fit domain.

Structure

Configuration is in the top-directory: settings.py, urls.py

docker-compose.prod.yml is prepared for use with the traefik load balancer.