- Local setup
- Replace
project-namewith project name (don't forget to skip this line 😉)- Run
yarnafterwards to update lockfile
- Run
- Commit scopes
- Update
.commitlintrc.*
- Update
- Variables
- Update
.env.repo
- Update
- Replace
- Update
.env.vars
| { | |
| "extends": "@flex-development" | |
| } |
| # Add To Project | |
| # | |
| # Add new issues and pull requests to the project board. | |
| # | |
| # References: | |
| # | |
| # - https://docs.github.com/actions/learn-github-actions/contexts | |
| # - https://docs.github.com/actions/learn-github-actions/expressions | |
| # - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#issues | |
| # - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#pull_request |
| declare module 'add-stream' { | |
| import type { ReadStream, WriteStream } from 'node:fs' | |
| /** | |
| * Creates a transform stream that appends the contents of `stream` onto | |
| * whatever is piped into it. | |
| * | |
| * @param {ReadStream} stream - Stream to append | |
| * @return {WriteStream} Transform stream | |
| */ |
| #!/bin/sh | |
| # PREREQUISITES | |
| # | |
| # 1. setup gpg for git | |
| # - https://medium.com/@jma/setup-gpg-for-git-on-macos-4ad69e8d3733 | |
| # 2. install glab | |
| # - https://github.com/profclems/glab#installation | |
| # 3. install terminus | |
| # - https://pantheon.io/docs/terminus/install |
| #!/bin/sh | |
| # PREREQUISITES | |
| # backup machine with current setup | |
| # SETUP | |
| # set environment variables | |
| # export DOPPLER_CONFIG= |
| # NPM Configuration | |
| # See: https://docs.npmjs.com/cli/v6/using-npm/config#npmrc-files | |
| # See: https://stackoverflow.com/questions/53099434/using-auth-tokens-in-npmrc | |
| # Registry Configuration - npm | |
| //registry.npmjs.org/:_authToken=${NPM_TOKEN} | |
| registry=https://registry.npmjs.org/ | |
| # Registry Configuration - gpr / @flex-development scope | |
| //registry.yarnpkg.com/:_authToken=${GH_PAT} |
Picking the right architecture = Picking the right battles + Managing trade-offs
| # Environment Variables | |
| CERTBOT_DOMAINS="*.$TLD,*.api.$TLD,*.db.$TLD,*.docs.$TLD,*.redis.$TLD" | |
| CERTBOT_EMAIL=<email-address> | |
| GCLOUD_PROJECT=<project-id> | |
| TLD=<top-level-domain> | |
| VM_IDENTITY_FILE=~/.ssh/ubuntu_rsa | |
| VM_IP=<vm-static-ip> | |
| VM_USER=ubuntu |
| #! /bin/sh | |
| # Virtual Machine - Initialization Workflow | |
| # | |
| # Reserves a static IP address and creates a virtual machine instance. | |
| # | |
| # Creates record sets for $TLD, *.$TLD, and *.dev.$TLD afterwards. | |
| # | |
| # Prerequisites: | |
| # |