A set of user interface patterns, Lume templates, and shell scripts for static site generation (SSG) and deployment to GitHub Pages.
git checkout https://github.com/devowhippit/ssg-project-manager pm
Create a new project directory next to the project manager directory.
mkdir my-project
Copy the site.sample.js into your project where your Lume configuration will go.
cp pm/site.sample.js my-projec/site.js
Modify the details for your new site. Then, review the Lume documentation on creating your first page. Load project manager command aliases.
source pm/bin
Below is a description of the available commands. Inspect the bin file for more details.
Command | Description |
---|---|
start |
Starts the Lume development server. |
tailwindcss |
Compiles Tailwindcss utilities. |
optim |
Opens the {{ project }}/src/img directory in ImageOptim. |
build |
Builds the static site using Lume and compiles Tailwindcss utilities. |
publish |
Publishes to gh-pages branch. |