Start a new middleman site from my template
https://github.com/CasJam/middelman-template
My middleman template site comes with the following pre-installed:
Tailwind
Stimulus JS
Webpack
Postcss
---
1) cd to my sites folder:
cd ~/code/active/sites
2) Clone the repo for my template site
3) cd into that new site:
cd new-site-name
4) Bundle Install to install the gems for this project
5) npm install to install the javascript dependecies
6) Remove the template github repo from the current origin
7) Set up the new repo on github
Log into my github.com account
"Create New Repository"
Name it the same as my projectname
Get commands from the instructions under "...or push an existing repository from the command line."
8) Make first commit to the new GitHub repo:
9) Run the server in terminal tab 1:
10) Update info in config.rb
In the new project, open config.rb and update the helper methods with this new site's name, URL, etc.
11) Update favicon and default meta image
These can be founded in source/images/favicon and source/images/meta
Last updated