record a sound
Setup DB migration environment settings by copying config/config_example.json
=> config/config.json
cp config/config_example.json config/config.json
Fill in the appropriate DB info in config/config.json
Next, run the migrations:
npm run migrate
Ideal development setup is in a docker container. First install Docker and Docker-Compose.
Next, the development environment can most easily be initialized via Make files. If the development environment can execute Make files, try the following:
sudo make dev
To install npm dependencies, open a terminal connected to the running docker orchestration via:
sudo make bash
npm run image:build
- start the image with either of the folowing:
npm run image:start
npm run image:bash
- to start the container and provide a command line
- Ensure that
docker
is available on the command line
- if
docker
install is needed, will also need to create new private repo creds (hub.docker.com) and register these with the localdocker
cli
- Commit all changes
npm run publish:test|patch|minor|major
- This will build, tag, and publish the latest image.
- Take note of the new image tag name. e.g. The tag from the following output is
v2.0.3-10
.
v2.0.3-10: digest: sha256:44587ec99bc610dbfc1019da6b486c110eea8275f01eb40176e67187c36c0092 size: 952
-
Verify image has been promoted to Docker Hub
-
Perform k8s rollout via instructions in
deployment
repo
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!