Using Middleman for static website generator.
Prerequisite: Ruby and bundler
In the project directory, install required package:
bundle install
Launch the (auto-reload) web server:
bundle exec middleman server
Install EditorConfig for your favorite editor to enforce the formatting rules of source files.
To build:
bundle exec middleman build
To deploy on S3 (requires AWS credentials in .s3.sync
in the yaml format):
bundle exec middleman s3_sync