A simple way to build static pages with a Rails feel.
- Click the green
Use this Template
button and give your project a name - In the new project, click on the green
Code
button to copy your SSH address cd
into the folder named after your Github username in your Terminal- Clone the repository like this
git clone git@github.com:dmbf29/NAME_OF_YOUR_PROJECT.git
- Move into the directory
cd NAME_OF_YOUR_PROJECT
Only if you don't have bundler or yarn
gem install bundler
brew install yarn
Then:
gem install middleman
bundle install
yarn install
Warnings == 👌, but Fatal errors == ⛔️
If you get a fatal error, you can try fixing it with bundle update
and hope for the best 🤞
middleman
or if that fails, trybundle exec middleman
- Sign into Netlify
- Add new site from Git
- Choose repository and branch
- Make sure your deploy settings look like this:
To use the gem middlman-metaman
, follow these setup instructions
- Bootstrap 4.6 CSS & JS
- Font Awesome CDN
- Webpack
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request