[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

the-akira/Flask-Genesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.