Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

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

Shorty McShort Link

This is a basic URL shortener. It does nothing more, nothing less.

Requirements

  • A running redis instance
  • Python 3.6+ (lower versions not tested)

Installation

Docker-compose (preferred)

$ docker-compose up -d

Manual

$ pip install -r requirements.txt
  • Compile the C extensions - Run in folder mcshort
(in folder mcshort) $ python setup.py install 
  • Export the env vars for your redis instance
# Replace these with your values
$ export REDIS_URL='redis://127.0.0.1:6379/0'
  • Run the application
$ FLASK_APP=mcshort.app:app flask run

License

Shorty McShort Link is released under the MIT License. See LICENSE for more information.

Contact

Follow me on twitter @mcostea