Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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.

About

Link shortener based on django, with custom open-graph tags for shortened links.

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.