- Install dependencies:
npm install
- Start Gulp for asset compilation:
gulp
- In a new terminal window, start the server:
docker-compose up
- Open
http://localhost:1313
in a browser
Edit the .scss
and .js
files in the /src
directory (NOT in /static
).
docker exec irlpodcast_hugo_1 hugo new episodes/201X-XX-XX-SXXEXX-episode-title-here.md
You can create this file by hand in the filesystem, but the above command will use the
archetypes/episodes.md
template to populate all the necessary front matter, saving
you precious, precious time.
This probably won't happen often, but if needed, run:
docker exec irlpodcast_hugo_1 hugo new somepage.md
- Push your changes to the
dev
branch:git push origin my-branch-name:dev
- Test on
https://dev.irlpodcast.org
Any merge to the master
branch will automatically update the staging site:
https://stage.irlpodcast.org/
A notice will be posted in #www-notify
on IRC when the push has completed.
- Verify all is good on the staging site
- Make sure your local
master
branch is up to date - Push the
master
branch to theprod
branch:git push origin master:prod
A notice will be posted in #www-notify
on IRC when the push has completed.