jamstack

Jamstack in Python


Keywords
jamstack, static, flask, static-site-generator
License
MIT
Install
pip install jamstack==1.0.0

Documentation

Jamstack logo

Also known as Jamstackpy

Installation

python -m pip install jamstack

Create basic project

jamstack plain <foldername>

Templates

Jamstack has templates available courtesy of html5up.

Template Command Tutorial
Massively html5up/massively
Phantom html5up/phantom HERE

The syntax is as follows:

jamstack t <template> <foldername>

Use the --existing flag if you want the project to be created in an existing folder

jamstack t html5up/massively myproject --existing

By default, projects are created without the assets (stylesheets, images, etc...) to download them, you must pass the --jamdo option to the static.py file of the respective project.

Build

To build the site run the file static.py.

python static.py

Your site will be generated in the dist/ folder.

Alternatively you can use the --server flag if you want to start livewatch.

Sites using jamstack