Also known as Jamstackpy
Installation
python -m pip install jamstack
Create basic project
jamstack plain <foldername>
jamstack plain myproject
or for git cloned repos, after cd jamstack plain . --existing
Templates
Jamstack has templates available courtesy of html5up.
Template | Command | Tutorial |
---|---|---|
Massively | massively | |
Phantom | 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 massively myproject --existing
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.