Setting Up The Development Environment - Brighton-FTC/FTC-2023 GitHub Wiki

💻 Setting Up The Development Environment

  • Please read the following short theory articles first:

  • Setting up the Development Environment

    :octocat: First, please check you have access to this organisation; you should see an edit button to the top right of this README. Otherwise, please follow the instructions here](https://github.com/Brighton-FTC/FTC-2023/wiki/Joining-on-GitHub).

    • Download and Install the IDE, Android Studio, here.
    • Locate an empty folder in File Explorer/an equivalent, where you want to save the code.
      • Right-click the address bar.
      • Click "Copy address as text".
      • image
    • Download and Install GitHub Desktop, or use Git in another way if you know how to.
      • In GitHub Desktop, navigate to File>Clone Repository
        • Type and select Brighton-FTC/FTC-2023
        • In the address box, select all and Ctrl+V. This pastes the path of the project folder you created.
        • Click "Clone".
        • image
        • Select "For my own purposes" if it this shows up, then continue.
        • image
        • You will need to navigate to your own branch, named workspace<YOUR GITHUB USERNAME>.

        ⚠️ This is important because it means we can keep versions that are tested and those that are not separate. It also prevents your changes from interrupting others'.

        • image
    • Open Android Studio, File>Close Project if necessary, then:
      • Click "Open" in the landing screen
      • Click "Show path"
      • Select all then press Ctrl+V in the address bar again.
      • You should see the project folder selected, with an Android icon next to it.
      • image
      • Click "OK", and your project will be loaded. You can close Android Studio and then open it again when needed.