- Node Version Manager (NVM)
- Git
- Clone the repo
git clone [email protected]:nyu-dss/viewpoint.git && cd viewpoint
- Install project node version (specified in
.nvmrc
)
nvm install
- Install npm packages
npm install
- Run the dev server
npm run dev
-
Open in browser at http://localhost:3000/viewpoint/
-
Quit the server with
Ctrl-c
. -
Auto-format code
npm run format
- Lint code
npm run lint