A simple URL - Shortening web app written in Python and Flask, also comes with a simple API.
-
Flask
pip install flask
-
Flask-SQLAlchemy
pip install Flask-SQLAlchemy
-
Gunicorn
pip install gunicorn
or use: pip install -r requirements.txt
Change APP_URL
in __init__.py
(https://{your_heroku_app_name}.herokuapp.com/
).
Clone and download the repository and run the following commands.
Note: Requires HerokuCLI. Install from here.
cd ./{PROJECT_DIR}
heroku create app_name
git init
heroku git:remote -a app_name
git add .
git commit -am "deploying"
git push heroku master