Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.

bring/goto

Repository files navigation

Goto

Simple URL shortener in Python/Flask.

Running locally

Use virtualenv:

# install virtualenv if not installed already:
[ $(which virtualenv) ] && echo "already installed" || pip install virtualenv

# create new virtual environment if it doesn't exist
[ -d venv ] && echo "venv already exists" || virtualenv --system-site-packages venv

# activate it
. venv/bin/activate

Install requirements (if first or requirements changed):

pip install -r requirements.txt

Run it:

python run.py --development