diff --git a/README.multi-repo.md b/README.multi-repo.md index 907b192..ac5de15 100644 --- a/README.multi-repo.md +++ b/README.multi-repo.md @@ -4,11 +4,38 @@ - [Fork greenbutton](https://github.com/codeforboston/greenbutton_objects/fork) - [Fork home-energy-analysis-tool](https://github.com/codeforboston/home-energy-analysis-tool/fork) -2. Start Github codespace with options make sure to select correct branch `multi-repo-container` and correct configuration 'With Home Energy App' as shown below: + +2. Make sure multi-repo branch is in your forked repo. Do this on your local machine. + Make sure to replace `YOUR_GITHUB_USERNAME` with your actual github username. + +``` + GITHUB_USERNAME=YOUR_GITHUB_USERNAME + mkdir multi-repo + cd multi-repo + + git clone "git@github.com:${GITHUB_USERNAME}/greenbutton_objects.git" + cd greenbutton_objects + git fetch --all + git checkout multi-repo-container + git push origin multi-repo-container + cd .. + + git clone git@github.com:${GITHUB_USERNAME}/home-energy-analysis-tool.git + cd home-energy-analysis-tool + git fetch --all + git checkout multi-repo-container + git push origin multi-repo-container + cd .. + + cd .. +``` + + +3. Start Github codespace with options make sure to select correct branch `multi-repo-container` and correct configuration 'With Home Energy App' as shown below: -3. Once the codespace starts up and you see a message like the one below, wait for the setup to complete. +4. Once the codespace starts up and you see a message like the one below, wait for the setup to complete. ``` Finishing up @@ -16,7 +43,7 @@ Running postStartCommand .devcontainer/post_start.sh ``` -4. Once your setup completes and you see that your VSCode extensions button in the toolbar looks like the one below click on it to see if any you have to do any extra actions like reloading a window before you can start working on the code +5. Once your setup completes and you see that your VSCode extensions button in the toolbar looks like the one below click on it to see if any you have to do any extra actions like reloading a window before you can start working on the code ![Extensions loading](images/vscode_extension_attention_needed.png) ![Extensions wait](images/vscode_extension_wait.png)