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 virtualenv
C:\python34\Scripts\virtualenv venv
venv\Scripts\activate.bat
C:\python34\Scripts\pip3 install -r requirements.txt
copy config.py-dist config.py
Editconfig.py
to specify a title and secret.
- Install python3, pip3, virtualenv
virtualenv venv
source ./venv/scripts/activate
pip3 install -r requirements.txt
cp config.py-dist config.py
Editconfig.py
to 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