-
Notifications
You must be signed in to change notification settings - Fork 23
Setting up a Development Environment
Jason Kiesling edited this page Jul 13, 2020
·
13 revisions
- Install Node.js (a JavaScript Runtime) via NVM. Follow the direction from the NVM website to install it on your OS.
- Run
nvm install 12.18.2
to install Node 10.18.2. - Run
nvm use 12.18.2 --default
to set the Node version. - Install Git.
- Install VSCode.
- Add the following extensions to VSCode.
- NPM Intellisense
- GitLens
- ESLint
- Install React Dev Tools in Google Chrome.
- Visit github.com/engaging-computing/MYR. In the top right corner, click "Fork" and follow the directions.
- On your computer, run the following commands. (This requires git to be installed.)
git clone https://github.com/[your-username]/MYR.git
cd MYR
git remote add upstream https://github.com/engaging-computing/MYR.git
- Make a copy of .env.example and rename it to .env.
- Update .env to include your OAuth2 key.
- Run
npm install
to download required packages. - Run
npm start
to start the server. - Navigate to localhost:3000 in your browser to see your local server!
MYR also requires a running backend. The backend must first be installed and then running at the same time as the MYR server is running. The directions for installing the MYR backend are located in the wiki for that project.