The goal of this project is to create a multi-person collaborative step sequencer (here is an extremely simple one: https://tonejs.github.io/examples/stepSequencer.html) .
Feature of the sequencer are:
Reference:
Please use node v14.17.6 - the latest stable version of node, nvm is an easy way to do this
On OX, install Homebrew if you don't have it:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install and select said version of Node:
nvm install 14.17.6
nvm use v14.17.6
node -v // should be 14.17.6
yarn install --frozen-lockfile`
yarn
- To install packages that may have changed since your last branchyarn build
- To do a clean build of jsyarn start
- To start the local serverWe use git flow
feature
branches into stage
as soon as it's ready to minimize merge conflicts and lack of transparency in what the code will look like once it's deployed to prod
.master
- always runs, is deployed to prod
(http://rounds.studio and http:/rounds.irl.studio)stage
- always runs, features are merged to it; is deployed to stage
(http://roundaround-stage.web.app) when testing integration of featuresfeature/<GitHub-issue-number>-<Feature-Description>
- one for each issue labeled as enhancement
in github, deployed to dev
(http://roundaround-dev.web.app) when testing a feature is usefulbug//<GitHub-issue-number>-<Bug-Description>
- one for each issue labeled as bug
, deployed to dev
(http://roundaround-dev.web.app) when testing a bug is usefulstage
and create a new feature/bug branchroundaround-dev.web.app
. It's fine if its buggy at the point of feedbackWhen you are confident the new feature is completed make a PR and do a full regression test.
Deploy to roundaround-dev.web.app
. Ask product to test the added functionality. They will not do a regression
If the tests pass, the PR is approved, and we're happy with the added functionality, merge that branch to stage.
Deploy to https://roundaround-stage.web.app/
If the tests pass we merge to master.
Deploy to roundaround-dev.web.app
Summary - we never make a branch off master, only stage, and we only ever merge into master after stage is fully regression tested. We try to get feature branches into stage as soon as possible, so we can be confident we're always moving forward building on tested and verified work.
If the smoke test fails you can debug it with:
yarn run cypress:open
make sure the site is running locally.
yarn build
firebase deploy --only hosting:production
Should update https://roundaround.web.app/
, this should always be masterfirebase deploy --only hosting:stage
Should update https://roundaround-stage.web.app/
, this should always be develop and be in a stablish statefirebase deploy --only hosting:dev
Should update https://roundaround-dev.web.app/
, this can be any branch off develop, it's fine if it's buggyfirebase deploy --only functions