Setup Guide

Create a Local Copy of the Code

First, make sure you have access to the Github Repositoryarrow-up-right (Send me a message on Slack if you don't). Then, make sure you have Gitarrow-up-right installed, and clone the repo onto your machine:

$ git clone https://github.com/Enactus-New-Beginnings/new-beginnings-web

Next, ensure you have Nodejs arrow-up-rightinstalled. Then, if you have yarn installed, simply run yarn, and all necessary npm packages will be downloaded. If you don't have yarn, run this command first:

$ npm i -g yarn
circle-info

The "-g" parameter installs the package globally, so if you have future projects that use yarn, you don't need to install it again.

Then run "yarn".

To open the code in VS Code navigate to the root directory of the project and run "code .".

Finally, to be able to view the website on your computer, run npm start. The website should then automatically open in your browser. If not, open your browser and navigate to http://localhost:3000/arrow-up-right. You should see this landing page:

Last updated