https://github.com/highoncarbs/shorty-router
:checkered_flag: Redirection service for shorty , to be hosted publicly.
https://github.com/highoncarbs/shorty-router
flask mysql python url-shortener
Last synced: about 2 months ago
JSON representation
:checkered_flag: Redirection service for shorty , to be hosted publicly.
- Host: GitHub
- URL: https://github.com/highoncarbs/shorty-router
- Owner: highoncarbs
- License: mit
- Created: 2017-07-14T10:53:57.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-31T19:27:58.000Z (almost 9 years ago)
- Last Synced: 2025-03-21T18:17:41.741Z (over 1 year ago)
- Topics: flask, mysql, python, url-shortener
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :checkered_flag: Shorty-Router
Redirection service that can be publicly hosted , while the dash **[Shorty](https://github.com/PadamSethia/shorty)** is hosted on private server.
## Getting Started
Setting the virtual environment
`pip install virtualenv`
Create the virtual environment inside the project directory
`virtualenv env`
Here env is our virtual environment , now change to project directory
`cd shorty-router`
Then install the requirements
`pip install -r requirements.txt`
Activate the virtual environment
`source env/bin/activate`
# Script for running the app
`shorty_router.ini` has the config for running the application
To run the app
`uwsgi --ini shorty_router.ini &`
shorty-router runs on port 8080 , can be changed in shorty-router/app.py
# :tada: done!