Skip to content
forked from sqozz/schort

schort is a tiny link shortener written in python3 and flask

License

Notifications You must be signed in to change notification settings

kolbyjack/schort

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

schort - It's just a tiny link shortener

Installation instructions:

  1. Clone this repo into e.g. /opt/schort
  2. Create a user and adjust permissions to write at least into /opt/schort/data
  3. Install requirements (see below)
  4. Configure your wsgi or fcgi server
  5. Configure your webserver that he talks to your wsgi/fcgi server

Requirements:

Module Explanation
Flask Flask handels all HTTP-stuff in this application
sqlite3 In gentoo this useflag needs to be set while compiling python3

µWSGI

The schort.wsgi file can be set as UWSGI_PROGRAM if you use uWSGI. Keep in mind, that the UWSGI_DIR needs to be set to the path where schort.py resists. This is because schort is not installed in a global scope. Since schort.wsgi imports schort.py it needs his workspace in the same folder.

About

schort is a tiny link shortener written in python3 and flask

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 58.7%
  • HTML 21.6%
  • CSS 18.1%
  • Dockerfile 1.6%