This repo contains a sample project build with the Middleman static site generator. This project was built for a video on Upcase, our learning platform.
The repo includes a setup script that you can run to get started. Run the script with:
$ bin/setup
This will install the dependencies via bundler
and copy over a template
.env
file.
To run the app locally, run:
$ middleman server
This will start the server with a file watcher and live reload functionality.
You'll need to set up an S3 bucket to store the content and configure
website hosting for the bucket, as well as populating the .env
file
with your AWS keys and bucket name.
Once you have that in place, you can deploy (and re-deploy) with:
$ bin/deploy