Перейти к файлу
Brett Kochendorfer a03a61f5dd feature(mirroring): Use github actions for mirroring 2022-07-19 14:53:34 -04:00
.github/workflows feature(mirroring): Use github actions for mirroring 2022-07-19 14:53:34 -04:00
archetypes Episode 1 (#11) 2019-05-06 11:42:27 -05:00
bin Skip remote creation step and push directly to host alias 2019-04-26 15:24:26 -05:00
content move up publish date 2020-03-30 16:23:23 -07:00
docs Remove IRL episodes and translate to German 2019-04-18 15:15:41 -07:00
layouts Remove voting banner 2020-03-05 10:46:53 -08:00
src Remove voting banner 2020-03-05 10:46:53 -08:00
static Bonus episodes: Season 1 Episode 8 2020-03-30 14:15:53 -07:00
.editorconfig Configure repo for use with GitLab CI/CD. (#2) 2019-04-19 13:10:00 -05:00
.eslintrc.js Copy of irlpodcast at 1a6c16f 2019-04-11 12:22:39 -07:00
.gitignore Copy of irlpodcast at 1a6c16f 2019-04-11 12:22:39 -07:00
.gitlab-ci.yml Switch to new Gitlab runners. 2020-05-04 12:48:55 +03:00
.stylelintrc Copy of irlpodcast at 1a6c16f 2019-04-11 12:22:39 -07:00
CNAME Update CNAME file 2019-04-16 17:43:47 -05:00
CODE_OF_CONDUCT.md Copy of irlpodcast at 1a6c16f 2019-04-11 12:22:39 -07:00
LICENSE Copy of irlpodcast at 1a6c16f 2019-04-11 12:22:39 -07:00
README.md Episode 1 (#11) 2019-05-06 11:42:27 -05:00
config-dev.toml Make GA optional 2019-04-30 09:27:12 -05:00
config-prod.toml Switch to GTM 2019-05-15 15:45:12 -07:00
config-stage.toml Make GA optional 2019-04-30 09:27:12 -05:00
config.toml Remove IRL episodes and translate to German 2019-04-18 15:15:41 -07:00
docker-compose.yml Copy of irlpodcast at 1a6c16f 2019-04-11 12:22:39 -07:00
gulpfile.js Copy of irlpodcast at 1a6c16f 2019-04-11 12:22:39 -07:00
package-lock.json Copy of irlpodcast at 1a6c16f 2019-04-11 12:22:39 -07:00
package.json Copy of irlpodcast at 1a6c16f 2019-04-11 12:22:39 -07:00

README.md

Running Locally

  1. Install dependencies: npm install
  2. Start Gulp for asset compilation: gulp
  3. In a new terminal window, start the server: docker-compose up
  4. Open http://localhost:1313 in a browser

Edit the .scss and .js files in the /src directory (NOT in /static).

Adding new episodes

  1. docker exec awebpodcast_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.

Adding new pages

This probably won't happen often, but if needed, run:

  1. docker exec awebpodcast_hugo_1 hugo new somepage.md

Pushing to dev

  1. Push your changes to the dev branch: git push origin my-branch-name:dev
  2. Test on https://dev.awebpodcast.org

Pushing to stage

Any merge to the master branch will automatically update the staging site:

https://stage.awebpodcast.org/

A notice will be posted in #irlpodcast-notify on Slack when the push has completed.

Pushing to production

Episode deployments typically happen at 6AM PT on the publish date. Please post in #a-web-podcast-page (private channel) on Slack.

It is responsibility of the person who codes the episode to find someone to push if 6AM PT is too early for them. All members of MozMEAO are happy to do this.

  1. Verify all is good on the staging site
  • If the episode was merged before the publish date it will not be visible on staging. You can see it on staging by either re-running the Jenkins job (if you have permission) or by merging a new pull request. If there are no reviewed pull requests that are ready you can submit one that changes the publish date to 1 minute earlier.
  1. Make sure your local master branch is up to date
  2. Push the master branch to the prod branch: git push origin master:prod

A notice will be posted in #irlpodcast-notify on Slack when the push has completed.

Kudos