Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/the-akira/flask-genesis
A simple to use Static Site Generator
https://github.com/the-akira/flask-genesis
flask flask-application flask-extensions flask-website python-web-development python3
Last synced: 3 months ago
JSON representation
A simple to use Static Site Generator
- Host: GitHub
- URL: https://github.com/the-akira/flask-genesis
- Owner: the-akira
- Created: 2019-10-08T22:14:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-03T06:07:58.000Z (11 months ago)
- Last Synced: 2024-03-03T07:22:00.807Z (11 months ago)
- Topics: flask, flask-application, flask-extensions, flask-website, python-web-development, python3
- Language: HTML
- Homepage: https://flaskgenesis.netlify.app
- Size: 596 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flask Genesis
![img](https://raw.githubusercontent.com/the-akira/Flask-Genesis/master/Avatar.png)
A simple to use Static Site Generator made with **[Flask](https://flask.palletsprojects.com/en/1.1.x/)**, **[Flask-FlatPages](https://flask-flatpages.readthedocs.io/en/v0.7.1/)** and **[Frozen-Flask](https://pythonhosted.org/Frozen-Flask/)**.
## Features
- Markdown Support
- Syntax Highlighting
- Search & Pagination
- Tables
- Tags
- DatesYou can see a working example here: **[flaskgenesis.netlify.app](https://flaskgenesis.netlify.app)**
## Installation
### Clone the Repository
```
git clone https://github.com/the-akira/Flask-Genesis.git
```### Inside the Main Directory
Create a Virtual Environment
```
python -m venv myvenv
```Activate the Virtual Environment
```
source myvenv/bin/activate
```Install Requirements
```
pip install -r requirements.txt
```Navigate to `blog` and Run the Application
```
python server.py
```To generate the static site you can run the following command
```
python server.py build
```You can then navigate to `build` and run `python -m http.server` to see the website on your local machine.
You are able to easily deploy to [GitHub Pages](https://pages.github.com/), [GitLab Pages](https://about.gitlab.com/product/pages/), [Netlify](https://www.netlify.com/), [Python Anywhere](https://www.pythonanywhere.com/) or [Surge](https://surge.sh/).