-
Notifications
You must be signed in to change notification settings - Fork 988
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add integrations anchor and preliminary framework integrations to docs
- Loading branch information
1 parent
7ab2289
commit 7447288
Showing
19 changed files
with
323 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: "Django" | ||
--- | ||
|
||
Instructions coming soon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
title: "Express, Fastify, Koa" | ||
--- | ||
|
||
Prerequisite: [Install the CLI](/cli/overview) | ||
|
||
The steps apply to the following non-exhaustive list of frameworks: | ||
|
||
- [Express](https://expressjs.com) | ||
- [Fastify](https://www.fastify.io) | ||
- [Koa](https://koajs.com) | ||
|
||
## Initialize Infisical for your app | ||
|
||
```bash | ||
# move to your app | ||
cd /path/to/project | ||
|
||
# initialize infisical | ||
infisical init | ||
``` | ||
|
||
## Modify the start script in your `package.json` | ||
|
||
```json | ||
... | ||
"scripts": { | ||
"start": "infisical run -- node index.js" | ||
"dev": "infisical run -- nodemon index.js" // if using nodemon for dev | ||
} | ||
... | ||
``` | ||
|
||
## Start your server with environment variables injected | ||
|
||
```bash | ||
npm run start | ||
|
||
# or start development server | ||
|
||
npm run dev | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: "Flask" | ||
--- | ||
|
||
Prerequisite: [Install the CLI](/cli/overview) | ||
|
||
## Initialize Infisical for your [Flask](https://flask.palletsprojects.com/en/2.2.x) app | ||
|
||
```bash | ||
# move to your Flask app | ||
cd /path/to/project | ||
|
||
# initialize infisical | ||
infisical init | ||
``` | ||
|
||
## Start your server with environment variables injected | ||
|
||
```bash | ||
infisical run -- flask run | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
title: "Gatsby" | ||
--- | ||
|
||
Prerequisite: [Install the CLI](/cli/overview) | ||
|
||
## Initialize Infisical for your [Gatsby](https://www.gatsbyjs.com) app | ||
|
||
```bash | ||
# move to your app | ||
cd /path/to/project | ||
|
||
# initialize infisical | ||
infisical init | ||
``` | ||
|
||
## Modify the start script in your `package.json` | ||
|
||
```json | ||
... | ||
"scripts": { | ||
"develop": "infisical run -- gatsby develop", | ||
"start": "infisical run -- gatsby develop", | ||
"build": "infisical run -- gatsby build", | ||
"serve": "infisical run -- gatsby serve", | ||
"clean": "infisical run -- gatsby clean" | ||
} | ||
... | ||
``` | ||
|
||
## Start your server with environment variables injected | ||
|
||
```bash | ||
yarn run start | ||
|
||
# or start development server | ||
|
||
yarn run develop | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: "Laravel" | ||
--- | ||
|
||
Instructions coming soon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
title: "NestJS" | ||
--- | ||
|
||
Prerequisite: [Install the CLI](/cli/overview) | ||
|
||
## Initialize Infisical for your [NestJS](https://nestjs.com) app | ||
|
||
```bash | ||
# move to your Next.js app | ||
cd /path/to/project | ||
|
||
# initialize infisical | ||
infisical init | ||
``` | ||
|
||
## Modify the start script in your `package.json` | ||
|
||
```json | ||
... | ||
"scripts": { | ||
"prebuild": "rimraf dist", | ||
"build": "nest build", | ||
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", | ||
"start": "infisical run -- nest start", | ||
"start:dev": "infisical run -- nest start --watch", | ||
"start:debug": "nest start --debug --watch", | ||
"start:prod": "node dist/main", | ||
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", | ||
"test": "jest", | ||
"test:watch": "jest --watch", | ||
"test:cov": "jest --coverage", | ||
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", | ||
"test:e2e": "jest --config ./test/jest-e2e.json" | ||
} | ||
... | ||
``` | ||
|
||
## Start your server with environment variables injected | ||
|
||
```bash | ||
npm run start | ||
|
||
# or start development server | ||
|
||
npm run start:dev | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
title: "Next.js" | ||
--- | ||
|
||
Prerequisite: [Install the CLI](/cli/overview) | ||
|
||
## Initialize Infisical for your [Next.js](https://nextjs.org) | ||
|
||
```bash | ||
# move to your Next.js app | ||
cd /path/to/project | ||
|
||
# initialize infisical | ||
infisical init | ||
``` | ||
|
||
## Modify the start script in your `package.json` | ||
|
||
```json | ||
... | ||
"scripts": { | ||
"dev": "infisical run -- next dev", | ||
"build": "infisical run -- next build", | ||
"start": "infisical run -- next start" | ||
} | ||
... | ||
``` | ||
|
||
## Start your server with environment variables injected | ||
|
||
```bash | ||
yarn run dev | ||
|
||
# or | ||
|
||
npm run dev | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: "Ruby on Rails" | ||
--- | ||
|
||
Instructions coming soon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
title: "React" | ||
--- | ||
|
||
Prerequisite: [Install the CLI](/cli/overview) | ||
|
||
## Initialize Infisical for your [Create React App](https://create-react-app.dev) | ||
|
||
```bash | ||
# move to your React app | ||
cd /path/to/project | ||
|
||
# initialize infisical | ||
infisical init | ||
``` | ||
|
||
## Modify the start script in your `package.json` | ||
|
||
```json | ||
... | ||
"scripts": { | ||
"start": "infisical run -- react-scripts start", | ||
"build": "react-scripts build", | ||
"test": "react-scripts test", | ||
"eject": "react-scripts eject" | ||
} | ||
... | ||
``` | ||
|
||
## Start your server with environment variables injected | ||
|
||
```bash | ||
yarn start | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: "Remix" | ||
--- | ||
|
||
Instructions coming soon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.