Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • icat/data-portal
1 result
Show changes
Commits on Source (2)
## Configure and run ## Configure, install and run
In order to setup the prod and dev environments do: ### Configuration
Environment variables are taken from .env files as described [here](https://vitejs.dev/guide/env-and-mode.html#env-files)
In order to setup the prod and dev environments for a specific application do:
``` ```
cd apps/{app}
pnpm configure pnpm configure
``` ```
...@@ -10,19 +15,19 @@ This will created two .env files that are ignored by GIT: ...@@ -10,19 +15,19 @@ This will created two .env files that are ignored by GIT:
``` ```
.env.prod.local .env.prod.local
.env.prod.dev .env.dev.local
``` ```
In order to run the production environment do: In order to run the production environment do:
``` ```
pnpm run:prod pnpm prod
``` ```
The development environment do: The development environment do:
``` ```
pnpm run:dev pnpm dev
``` ```
# Structure # Structure
......