ezcomic is a blog style script for hosting comic book websites, written using Flask for Python 3.
After installation, register an administrator account to post, edit and reorder comics.
A working installation of Python 3 is required.
Clone the repository using git, or download and extract a zip file of the latest release.
- Install python3
- Install pip3
- Open a command prompt
pip3 install virtualenvC:\python34\Scripts\virtualenv venvvenv\Scripts\activate.batC:\python34\Scripts\pip3 install -r requirements.txtcopy config.py-dist config.pyEditconfig.pyto specify a title and secret.
- Install python3, pip3, virtualenv
virtualenv venvsource ./venv/scripts/activatepip3 install -r requirements.txtcp config.py-dist config.pyEditconfig.pyto specify a title and secret.
python ezcomic.py
Open http://localhost:5000 in your browser.
Edit the included uwsgi.json config file appropriately, and run with uwsgi uwsgi.json.
Configure your web server to proxy requests to the appropriate port.
This codebase may be useful for reference to Flask beginners. It is a simple 2 page application which includes the following:
- Flask with Jinja2 templating
- Data storage using SQLAlchemy ORM with sqlite, easily adaptable to MySQL
- Correct usage of bcrypt with individual salts
- User accounts with registration and permissions using flask_login
Released under GNU GPLv3