Skip to main content

Burrito Burrito aka Docker-QA-Tool

Download it from https://powrteam.slack.com/files/UA6MDLVGA/FLNH90J5A/burrito-23-july-2019.zip

Last update: July 23, 2019

  • Fixed Jira integration
  • Fancy hover effect on buttons
  • Hide Devtools

Last update: May 2, 2019 - Fix Installing NPM packages

Prerequisites:

1) Mac OS. 2) Configure Gitlab with your ssh-key:

3) Install Docker https://hub.docker.com/editions/community/docker-ce-desktop-mac (you will need to Sign Up to download) 4) Clone the project locally:

  • Open Terminal
  • Create a folder for the powr project: mkdir powr-repo
  • Open powr-repo: cd powr-repo
  • Type pwd in the terminal: it will print the project path
  • Clone the project: git clone [email protected]:powr/powr.git - this will create a folder powr with the contents of our project. run cd powr and pwd. This will print the path to your local project. It should be something like this: /Users/sergey/powr-repo/powr

How to start it for the first time:

1) Open Burrito and enter the project path. Hit Save Path and Refresh. 2) Click "Initial Database Setup". This will open Terminal and run some initial installation scripts. Wait for Terminal to finish running the installation scripts. 3) After it's finished you can checkout a branch from the list:

"Tickets for testing" appear if the Jira ticket is in the "Ready for QA" column and an engineer has created a merge request from branch which name starts with the corresponding Jira ticket. For example, "PM-5282-map-pin-feature-fix"

3) Hit "Start Docker" and wait some time for Terminal to start the app. 4) Open https://localhost:3002. Your browser may warn you about invalid certificates. Hit ADVANCED** **and then trust the certificate.

5) Open https://localhost:3000. It should load the POWr's home page. 6) Don't forget to hit "Stop Docker" when you are finished working.

If you want to test another branch

1) Stop Docker 2) Checkout the branch 3) Start Docker

Known Issues:

1) If you see this error, hit Run migration button. Wait for script to finish and refresh the page.

2) Sometimes you might need to update Ruby gems or install NPM packages. To do that there're 2 corresponding buttons. You will need to hit START DOCKER after.

Video Demo

https://www.useloom.com/share/9450204fabc447c1a990e6c596fcdd0e https://www.useloom.com/share/f718ffb5a2204291b74ed332987051f0 https://www.useloom.com/share/90e71f1c391f4c4fb3795fce44069c18