Skip to content

andrewmaximoff/short-links

Repository files navigation

ShortLinks

ShortLinks is a URL shortening service and a link management platform. Deployed on Heroku.

  • Short links without authentication
  • See link statistics for registered users

Stack:

  • Django
  • JQuery(for AJAX)
  • Chartist.js(for graphics)

Quick start:

$ pip install pipevn
$ pipenv install && pipenv shell

Create config/.env and change to you settings:

cp config/.env.template config/.env

Run migrate db and server:

(short-links)$ python manage.py migrate
(short-links)$ python manage.py runserver

Use Docker:

$ docker-compose build
$ docker-compose run --rm web python3 manage.py migrate
$ docker-compose up

Deploying on Heroku:

heroku create short_links-prod --remote prod && \
    heroku addons:create heroku-postgresql:hobby-dev --app short_links-prod && \
    heroku config:set DJANGO_SECRET=`openssl rand -base64 32` \
        DJANGO_DEBUG="True" \
        --app short_links-prod

About

ShortLinks is a URL shortening service and a link management platform

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published