A command to get MissionHub QA running
-
Install homebrew https://brew.sh/#install
-
Update ruby version
Install asdf https://asdf-vm.com/#/core-manage-asdf-vm?id=install (use macOS and Homebrew instructions unless you're on a different environment)
asdf plugin add ruby
asdf install ruby latest
(cd ~/code/missionhub-react-native && asdf local ruby latest)
(may have to replacelatest
with version returned by previous command) -
Install yarn
brew install yarn
-
Install mh-qa-cli
yarn global add mh-qa-cli
For updates, run again with the version to upgrade to. Example:
yarn global add [email protected]
Run mh-qa-cli
and select what you would like to do.
If running for the first time choose 🛠️ Setup dev tools
to install dependencies.
To add translation support choose 🌌 Setup OneSky keys
.
mh-qa-cli
can be run with arguments instead of being prompted with questions. Any omitted arguments will still result in prompts.
mh-qa-cli ios <branch> <staging|production> <simulator name>
Example:
mh-qa-cli ios master production "iPhone 8"
mh-qa-cli android <branch> <staging|production>
Example:
mh-qa-cli android master production