Skip to content

Latest commit

 

History

History
70 lines (43 loc) · 1.4 KB

File metadata and controls

70 lines (43 loc) · 1.4 KB

Setup

Follow these steps to get a development environment up and running on your machine.

To check if Git is installed on your machine

git --version

To check if Node.js is installed on your machine

node -v

To check if npm is installed on your machine

npm -v

Clone this repository

cd path/to/where/i/want/to/clone/repo
git clone https://github.com/Light-and-Health-Research-Center/docs

Install dependencies

cd docs/
yarn

Remember your access token for the next step.

Add .env variables

In the /docs root directory, create a fill .env.local. In the file put the following environment variable

GITHUB_OAUTH2_TOKEN="YOUR PERSONAL ACCESS TOKEN HERE"

Run developement mode

yarn dev

Open app

Open a browser and navigate to the URL localhost:3000, where the application should be running.