A simple URL Shortener
2015-10-09: Broke compatibility with all Python versions except of 2.7
A simple favourites / URL shortening app in Python. Work in progress. The idea is to have a simple, working web application linked with a set of tools - which could be used in larger projects.
- Bottle (microframework), Skeleton
- PostgreSQL with SQLAlchemy (ORM), fallback to SQLite
- cookiecutter-bottle template,
- playing with testing, using
Works with Travis CI, successfull builds are deployed to Heroku: http://fathomless-everglades-8154.herokuapp.com/
At some moment it will work with Openshift as well.
Running in development mode (prepare virtual environment and run the app inside):
I am struggling a bit with releasing to PyPi, it will work soon.
# no uncommited changes at this point devucl.sh bumpversion --allow-dirty patch git add . git commit -m "Bump version: x.x.x → y.y.y" git tag vy.y.y git push git push --tags # .pypirc must be prepared, see http://peterdowns.com/posts/first-time-with-pypi.html # python setup.py register -r pypitest # python setup.py sdist upload -r pypitest # python setup.py register -r pypi # python setup.py sdist upload -r pypi # python setup.py sdist bdist_wheel upload