Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 983 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 983 Bytes

URL-Shortener

A simple URL - Shortening web app written in Python and Flask, also comes with a simple API.

gif

Dependencies

  • Flask
    pip install flask

  • Flask-SQLAlchemy
    pip install Flask-SQLAlchemy

  • Gunicorn
    pip install gunicorn

or use: pip install -r requirements.txt

Deploying on Heroku

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