This is a Python web application written with Flask, SQLAlchemy and WTForms
This is a "beta than nothin'" developed within 3 days, so some some stuff maybe does not work at all or does not work as it was expected :)
Write a simple cheatsheets storage.
Sometimes I come across interesting articles I want to conspect for myself
or I run into a problem I resolve and want to keep the solution somewhere...
All in all, who can manage all the stuff inside a head? So, basically Cheater
helps to keep notes
Create database called cheater
(for mysql):
create database `cheater`;
change the database DSN in cheater.database
to whatever you have
python manage.py db --create-all
python manage.py runserver [port] [-d | --debug ]
Navigate to 127.0.0.1:port in your browser. The default Werkzeug (used by the application) port is 5000, so if you run
python manage.py runserver
it will run on 127.0.0.1:5000
There is a bunch of stuff yet to todo here:
- auth with OpenID, store and verify identity with Flask-Principal
- allow cheat name change (the app reconizes cheat by it's name or by name's slug to be precise)
- use
deferred
on some SQLAlchemy declarative based fields - add some tests
- add some features to the application
- add some features to the manage.py
- add some js
- add some navigation
- fix some templates
- fix some css
- fix some bugs