mirror of
https://github.com/grassrootseconomics/farmstar-survey-ui.git
synced 2025-01-09 23:57:31 +01:00
38 lines
400 B
Markdown
38 lines
400 B
Markdown
# FarmStar Survey UI
|
|
|
|
## Required env variables
|
|
|
|
- `BASE_URL`
|
|
|
|
## Setup
|
|
|
|
Make sure to install the dependencies:
|
|
|
|
```bash
|
|
# npm
|
|
npm install
|
|
```
|
|
|
|
## Development Server
|
|
|
|
Start the development server on `http://localhost:3000`:
|
|
|
|
```bash
|
|
# npm
|
|
npm run dev
|
|
```
|
|
|
|
## Production
|
|
|
|
Build the application for production:
|
|
|
|
```bash
|
|
npm run build
|
|
```
|
|
|
|
Locally preview production build:
|
|
|
|
```bash
|
|
npm run preview
|
|
```
|