mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
39 lines
573 B
Plaintext
39 lines
573 B
Plaintext
---
|
|
title: "Remix"
|
|
---
|
|
|
|
Prerequisite: [Install the CLI](/cli/overview)
|
|
|
|
## Initialize Infisical for your [Remix](https://remix.run) app
|
|
|
|
```bash
|
|
# move to your Vue app
|
|
cd /path/to/project
|
|
|
|
# initialize infisical
|
|
infisical init
|
|
```
|
|
|
|
## Modify the start script in your `package.json`
|
|
|
|
```json
|
|
...
|
|
"scripts": {
|
|
...
|
|
"dev": "infisical run -- run-p dev:*",
|
|
"start": "infisical run -- remix-serve build"
|
|
...
|
|
}
|
|
...
|
|
```
|
|
|
|
## Start your server with environment variables injected
|
|
|
|
```bash
|
|
npm run build && npm run start
|
|
|
|
# or start development server
|
|
|
|
npm run dev
|
|
```
|