Work on the dev env and building for production and staging.
This commit is contained in:
22
README.md
22
README.md
@@ -81,7 +81,29 @@ npm install flowbite flowbite-svelte tailwind-merge @popperjs/core
|
||||
## Build
|
||||
|
||||
## Environment file
|
||||
### ".env"
|
||||
This is the default used if others are not found when when "npm run dev" or "npm run build" is run.
|
||||
|
||||
### ".env.local"
|
||||
This is used when "npm run dev" is run. This is not used in the production build.
|
||||
|
||||
### ".env.production"
|
||||
This is used when "npm run build" is run. This is not used in the development build.
|
||||
|
||||
### ".env:prod"
|
||||
This is modified to allow for a staging environment and production environment built.
|
||||
|
||||
### ".env:staging"
|
||||
This is modified to allow for a staging environment and production environment built.
|
||||
|
||||
### Example Important Values when running in dev:
|
||||
Note our home IP address that changes.
|
||||
```bash
|
||||
DOCKER_AE_API_SERVER_EXTRA_HOST=dev-api.oneskyit.com:108.28.68.107
|
||||
|
||||
PUBLIC_AE_API_SERVER=api.oneskyit.com
|
||||
PUBLIC_AE_API_BAK_SERVER=bak-api.oneskyit.com
|
||||
```
|
||||
|
||||
|
||||
# create-svelte
|
||||
|
||||
Reference in New Issue
Block a user