hyper-tuner-cloud/DEVELOPMENT.md

36 lines
467 B
Markdown
Raw Permalink Normal View History

2022-01-09 14:33:38 -08:00
# Development guide
This guide will help you set up this project.
## Requirements
2022-07-17 11:55:10 -07:00
- Node Version Manager: [nvm](https://github.com/nvm-sh/nvm)
2022-01-09 14:33:38 -08:00
### Setup local environment variables
```bash
cp .env .env.local
```
2022-07-17 11:55:10 -07:00
### Setup correct Node.js version
```bash
nvm use
```
2022-01-09 14:33:38 -08:00
### Install dependencies and run in development mode
```bash
# install packages
npm install
# run development server
npm start
2022-10-30 09:09:26 -07:00
# lint code
npm run lint
# production build
npm run build
2022-01-09 14:33:38 -08:00
```