On a mac:
brew install hugo
On Linux:
- Download from the releases page: https://github.com/gohugoio/hugo/releases/tag/v0.37
- Extract and save the executable to
/usr/local/bin
From wherever you checkout repos:
git clone [email protected]:aws-containers/apprunnerworkshop.git
cd apprunnerworkshop
git submodule init
git submodule update --checkout --recursive
npm install
npm run server
or
npm run test
to see stubbed in draft pages.
Visit http://localhost:1313/ to see the site.
As you save edits to a page, the site will live-reload to show your changes.
Any commits to main will auto build and deploy in a couple of minutes. You can see the currently deployed hash at the bottom of the menu panel.
note: shift-reload may be necessary in your browser to reflect the latest changes.
Check out the commands in buildspec.yml
to see the build/deploy process