Skip to content

Vivek-Kolhe/URL-Shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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