Skip to content

ScottyLabs/cmumaps

Repository files navigation

CMU Maps

Getting Started

  1. Get added to the CMU Maps team.

  2. Create a branch by clicking on the branch button, typing in a branch name, and clicking on create branch. alt text

  3. Create a codespace by clicking on the code button on the CMU Maps Repo and clicking the Codespaces tab. See image below: alt text

  4. Click on the plus button to create a GitHub code space in your branch that will appear in another tab. alt text

  5. Run this command GITHUB_TOKEN=$GH_TOKEN in the terminal alt text

  6. Run this command git submodule update --init --recursive in the terminal. alt text

  7. Run this command npm run dev in the terminal after this text pops up. alt text

  8. If you see that the program is running like below and you have CMU Maps running locally in the link given by "Local:", you are set up! If you want to work in VSCode though, continue to follow step 8. alt text

  9. Go back to the CMU Maps GitHub Repo and click on the code button, Codespaces tab, and find your code space. alt text

  10. Click on the three dots ". . ." and click from the dropdown options "Open in Visual Studio Code". alt text

  11. Accept all the pop ups for nessecary installation.

Sending a PR(Pull Request)

  1. Locate the source control icon on the nav bar. alt text

  2. Type a decription of your change and hit commit. alt text

  3. Click on "yes" for staging all your changes. alt text

  4. Go back to the CMU Maps GitHub Repo and click on the "Compare & pull request. alt text

  5. Type a title and brief description of your pull request and click on "Create Pull Request". alt text