hypertuner-cloud/DEVELOPMENT.md

777 B

Development guide

This guide will help you set up this project.

Using GitHub Codespaces

This project is configured to work with GitHub Codespaces. To use it, simply open the project in a Codespace using GitHub's UI.

Local development

Requirements

  • Node Version Manager: nvm

Setup local environment variables

cp .env .env.local

Setup correct Node.js version

nvm use

Install dependencies and run in development mode

# install packages
npm install

# run development server
npm start

# lint code
npm run lint

# fix / format code
npm run lint:fix

# regenerate PocketBase types
npm run typegen

# production build
npm run build