Skip to content

fengsp/shortly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shortly

A URL shortener

shortly

##install

$ git clone [email protected]:fengsp/shortly.git
$ cd shortly
$ pip install -r requirement.txt
# maybe you need to configure redis (default localhost:6379 db:0)
$ view shortly/settings.py

##usage For a try out:

$ python fire.py

Shortly should be up on http://127.0.0.1:5000/, type any url to shorten it. We assume you get abc back, just go to http://127.0.0.1:5000/abc for a redirect.


For a deployment(root privilege is needed):
$ supervisord -c supervisord.conf

About

A URL shortener

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published