-
Notifications
You must be signed in to change notification settings - Fork 28
Bootcamp Setup
Hong Lin edited this page Sep 30, 2023
·
8 revisions
- Install Git. Verify that it has been installed by running
git --version
. - Sign up for a GitHub account
- Install Node.js. The preferred way is to use Node Version Manager (NVM)
- Mac/Linux: https://github.com/nvm-sh/nvm
- Run the
curl
command specified in the above link to download and run the installation script. - Run
nvm install node
to install the latest version of Node.js. You may need to run this in a new terminal. - Run
nvm use node
. - Run
npm --version
to verify that Node.js and NPM has been installed.
- Run the
- Windows: https://github.com/coreybutler/nvm-windows
- Follow the instructions in the above link to install NVM.
- Run
nvm install node
in a new terminal to install the latest version of Node.js. - Run
nvm use node
. - Run
npm --version
to verify that Node.js and NPM has been installed.
- Mac/Linux: https://github.com/nvm-sh/nvm
- Install an IDE such as Visual Studio Code, or have some other text editor (Vim, Emacs, Sublime Text, etc.) that you are comfortable working with. Notepad or Word or Wordpad does NOT count.
- Go to the Course Tool repository on GitHub.
- Create a fork of Courses Tool using the button on the top right.
- Leave all the settings on default and create the fork.
- You should get redirected to a personal repository. Click the code button and copy the HTTPS url.
- Go to a parent directory for where you are fine with putting this project' directory in. Open a terminal in this directory. Instructions for Mac / Instructions for Windows
- Run the command:
git clone URL_COPIED_IN_STEP_4
-
cd
into the cloned directory. - Run the commands:
npm install
npm run bootcamp-setup
- To run the front end server, run:
cd frontend
npm run dev
- Go to github.com/ScottyLabs/course-tool/issues and find an issue to work on. It is highly recommended to find one tagged as
bootcamp
orgood first issue
. - Create a new branch for you to work on the changes. Name the branch something sensible based on the feature you are working on.
git checkout -b ANDREW_ID/BRANCH_NAME
- Edit your changes in the
frontend/
directory. - Once you're confident of your changes, create a pull request.
- If you want to return to the main branch, you can do:
git checkout main