This is a CMS for the Pelican static site generator. It is a web-based application built with Flask and Jinja.
Note: This is experimental as I am developing this with the help of ChatGPT.
- Create, read, update, and delete (CRUD) articles
- Automatic summary generation for articles
- Optional image for articles
- Author CRUD
- Python 3.10 or higher
- Pelican
- Flask
- Jinja
- SQLAlchemy
- Pygments
- Clone the repository
- Create a virtual environment:
python -m venv env - Activate the virtual environment:
source env/bin/activate - Install the dependencies:
make setup(for the requirements to run the project)make setup-dev(for the development requirements)
- Set the following environment variables:
DATABASE_URI: URI for the databaseAPP_SECRET_KEY: Secret key for the app
- Run the development server:
make serve
Run the tests with: make test
Run the linters with: make lint
Run the formatter with: make format
Run the code coverage with: make coverage
make run: Run the development servermake test: Run the testsmake lint: Run the lintersmake format: Run the formattermake coverage: Run the code coveragemake clean: Clean up Python-related artifactsmake help: Print a helpful message about how to use the Makefile