the-akira / Flask-Genesis

A simple to use Static Site Generator

Home Page:https://flaskgenesis.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask Genesis

img

A simple to use Static Site Generator made with Flask, Flask-FlatPages and Frozen-Flask.

Features

  • Markdown Support
  • Syntax Highlighting
  • Search & Pagination
  • Tables
  • Tags
  • Dates

You can see a working example here: 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, GitLab Pages, Netlify, Python Anywhere or Surge.

About

A simple to use Static Site Generator

https://flaskgenesis.netlify.app


Languages

Language:HTML 90.3%Language:CSS 8.2%Language:Python 1.4%