This commit is contained in:
Vladyslav Matsiiako
2022-11-29 20:02:16 -05:00
14 changed files with 156 additions and 34 deletions
+2 -2
View File
@@ -257,7 +257,7 @@ We're currently setting the foundation and building [integrations](https://infis
## Open-source vs. paid ## Open-source vs. paid
This repo is entirely MIT licensed, with the exception of the `ee` directory which will contain premium enterprise features requring a Infisical license in the future. We're currently focused on developing non-enterprise offerings first that should suit most use-cases. This repo is entirely MIT licensed, with the exception of the `ee` directory which will contain premium enterprise features requiring a Infisical license in the future. We're currently focused on developing non-enterprise offerings first that should suit most use-cases.
## Security ## Security
@@ -271,4 +271,4 @@ Looking to report a security vulnerability? Please don't post about it in GitHub
<!-- prettier-ignore-start --> <!-- prettier-ignore-start -->
<!-- markdownlint-disable --> <!-- markdownlint-disable -->
<a href="https://github.com/dangtony98"><img src="https://avatars.githubusercontent.com/u/25857006?v=4" width="50" height="50" alt=""/></a> <a href="https://github.com/mv-turtle"><img src="https://avatars.githubusercontent.com/u/78047717?s=96&v=4" width="50" height="50" alt=""/></a> <a href="https://github.com/maidul98"><img src="https://avatars.githubusercontent.com/u/9300960?v=4" width="50" height="50" alt=""/></a> <a href="https://github.com/hanywang2"><img src="https://avatars.githubusercontent.com/u/44352119?v=4" width="50" height="50" alt=""/></a> <a href="https://github.com/tobias-mintlify"><img src="https://avatars.githubusercontent.com/u/110702161?v=4" width="50" height="50" alt=""/></a> <a href="https://github.com/gangjun06"><img src="https://avatars.githubusercontent.com/u/50910815?v=4" width="50" height="50" alt=""/></a> <a href="https://github.com/dangtony98"><img src="https://avatars.githubusercontent.com/u/25857006?v=4" width="50" height="50" alt=""/></a> <a href="https://github.com/mv-turtle"><img src="https://avatars.githubusercontent.com/u/78047717?s=96&v=4" width="50" height="50" alt=""/></a> <a href="https://github.com/maidul98"><img src="https://avatars.githubusercontent.com/u/9300960?v=4" width="50" height="50" alt=""/></a> <a href="https://github.com/gangjun06"><img src="https://avatars.githubusercontent.com/u/50910815?v=4" width="50" height="50" alt=""/></a> <a href="https://github.com/hanywang2"><img src="https://avatars.githubusercontent.com/u/44352119?v=4" width="50" height="50" alt=""/></a> <a href="https://github.com/tobias-mintlify"><img src="https://avatars.githubusercontent.com/u/110702161?v=4" width="50" height="50" alt=""/></a> <a href="https://github.com/0xflotus"><img src="https://avatars.githubusercontent.com/u/26602940?v=4" width="50" height="50" alt=""/></a>
+6
View File
@@ -95,3 +95,9 @@ The Infisical CLI provides a way to inject environment variables from the platfo
</Tab> </Tab>
</Tabs> </Tabs>
## Log in to the Infisical CLI
```bash
infisical login
```
+5 -11
View File
@@ -4,12 +4,6 @@ title: "Usage"
Prerequisite: [Install the CLI](/cli/overview) Prerequisite: [Install the CLI](/cli/overview)
## Log in to the Infisical CLI
```bash
infisical login
```
## Initialize Infisical for your project ## Initialize Infisical for your project
```bash ```bash
@@ -29,11 +23,11 @@ infisical run -- [your application start command]
Options you can specify: Options you can specify:
| Option | Description | Default value | | Option | Description | Default value |
| ------------- | ----------------------------------------------------------------------------------------------------------- | ------------- | | ------------- | ----------------------------------------------------------------------------------------------------------- | ------------- |
| `--env` | Used to set the environment that secrets are pulled from. Accepted values: `dev`, `staging`, `test`, `prod` | `dev` | | `--env` | Used to set the environment that secrets are pulled from. Accepted values: `dev`, `staging`, `test`, `prod` | `dev` |
| `--projectId` | Used to link a local project to the platform (required only if injecting via the service token method) | `None` | | `--projectId` | Used to link a local project to the platform (required only if injecting via the service token method) | `None` |
| `--expand` | Parse shell parameter expansions in your secrets (e.g., `${DOMAIN}`) | `true` | | `--expand` | Parse shell parameter expansions in your secrets (e.g., `${DOMAIN}`) | `true` |
## Examples: ## Examples:
-5
View File
@@ -1,5 +0,0 @@
---
title: "Angular"
---
Instructions coming soon.
+17 -1
View File
@@ -2,4 +2,20 @@
title: "Django" title: "Django"
--- ---
Instructions coming soon. Prerequisite: [Install the CLI](/cli/overview)
## Initialize Infisical for your [Django](https://www.djangoproject.com) project
```bash
# move to your Django project
cd /path/to/project
# initialize infisical
infisical init
```
## Start your server with environment variables injected
```bash
infisical run -- python manage.py runserver
```
@@ -1,5 +1,5 @@
--- ---
title: "Fibre" title: "Fiber"
--- ---
Coming soon. Coming soon.
+1 -1
View File
@@ -4,7 +4,7 @@ title: "Next.js"
Prerequisite: [Install the CLI](/cli/overview) Prerequisite: [Install the CLI](/cli/overview)
## Initialize Infisical for your [Next.js](https://nextjs.org) ## Initialize Infisical for your [Next.js](https://nextjs.org) app
```bash ```bash
# move to your Next.js app # move to your Next.js app
+29 -1
View File
@@ -2,4 +2,32 @@
title: "Nuxt" title: "Nuxt"
--- ---
Instructions coming soon. Prerequisite: [Install the CLI](/cli/overview)
## Initialize Infisical for your [Nuxt](https://nuxtjs.org) app
```bash
# move to your Nuxt app
cd /path/to/project
# initialize infisical
infisical init
```
## Modify the start script in your `package.json`
```json
...
"scripts": {
"dev": "infisical run -- nuxt",
"build": "infisical run -- nuxt build",
"start": "infisical run -- nuxt start"
}
...
```
## Start your development server with environment variables injected
```bash
npm run dev
```
+17 -1
View File
@@ -2,4 +2,20 @@
title: "Ruby on Rails" title: "Ruby on Rails"
--- ---
Instructions coming soon. Prerequisite: [Install the CLI](/cli/overview)
## Initialize Infisical for your [Rails](https://rubyonrails.org) app
```bash
# move to your Rails app
cd /path/to/project
# initialize infisical
infisical init
```
## Start your server with environment variables injected
```bash
infisical run -- bin/rails server
```
+34 -1
View File
@@ -2,4 +2,37 @@
title: "Remix" title: "Remix"
--- ---
Instructions coming soon. 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
```
+35 -1
View File
@@ -2,4 +2,38 @@
title: "Vue" title: "Vue"
--- ---
Coming soon. Prerequisite: [Install the CLI](/cli/overview)
## Initialize Infisical for your [Vue](https://vuejs.org) 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": {
"serve": "infisical run -- vue-cli-service serve",
"build": "infisical run -- vue-cli-service build",
"lint": "infisical run -- vue-cli-service lint"
}
...
```
## Start your development server with environment variables injected
```bash
npm run serve
```
<Note>
Note that for environment variables to be exposed to the client, you'll have
to prefix them with `VUE_APP` Read more about that
[here](https://cli.vuejs.org/guide/mode-and-env.html).
</Note>
+6 -7
View File
@@ -23,17 +23,16 @@ Missing an integration? Throw in a [request](https://github.com/Infisical/infisi
| GitHub Actions | CI/CD | Coming soon | | GitHub Actions | CI/CD | Coming soon |
| Jenkins | CI/CD | Coming soon | | Jenkins | CI/CD | Coming soon |
| [React](/integrations/frameworks/react) | Framework | Available | | [React](/integrations/frameworks/react) | Framework | Available |
| [Vue](/integrations/frameworks/vue) | Framework | Coming soon | | [Vue](/integrations/frameworks/vue) | Framework | Available |
| [Angular](/integrations/frameworks/angular) | Framework | Coming soon |
| [Express](/integrations/frameworks/express) | Framework | Available | | [Express](/integrations/frameworks/express) | Framework | Available |
| [Next.js](/integrations/frameworks/nextjs) | Framework | Available | | [Next.js](/integrations/frameworks/nextjs) | Framework | Available |
| [NestJS](/integrations/frameworks/nestjs) | Framework | Available | | [NestJS](/integrations/frameworks/nestjs) | Framework | Available |
| [Nuxt](/integrations/frameworks/nuxt) | Framework | Coming soon | | [Nuxt](/integrations/frameworks/nuxt) | Framework | Available |
| [Gatsby](/integrations/frameworks/gatsby) | Framework | Available | | [Gatsby](/integrations/frameworks/gatsby) | Framework | Available |
| [Remix](/integrations/frameworks/remix) | Framework | Coming soon | | [Remix](/integrations/frameworks/remix) | Framework | Available |
| [Vite](/integrations/frameworks/vite) | Framework | Available | | [Vite](/integrations/frameworks/vite) | Framework | Available |
| [Fibre](/integrations/frameworks/fibre) | Framework | Coming soon | | [Fiber](/integrations/frameworks/fiber) | Framework | Coming soon |
| [Django](/integrations/) | Framework | Coming soon | | [Django](/integrations/frameworks/django) | Framework | Available |
| [Flask](/integrations/frameworks/flask) | Framework | Available | | [Flask](/integrations/frameworks/flask) | Framework | Available |
| [Laravel](/integrations/frameworks/laravel) | Framework | Coming soon | | [Laravel](/integrations/frameworks/laravel) | Framework | Coming soon |
| [Ruby on Rails](/integrations/frameworks/rails) | Framework | Coming soon | | [Ruby on Rails](/integrations/frameworks/rails) | Framework | Available |
+2 -1
View File
@@ -135,13 +135,14 @@
"pages": [ "pages": [
"integrations/frameworks/react", "integrations/frameworks/react",
"integrations/frameworks/vue", "integrations/frameworks/vue",
"integrations/frameworks/angular",
"integrations/frameworks/express", "integrations/frameworks/express",
"integrations/frameworks/nextjs", "integrations/frameworks/nextjs",
"integrations/frameworks/nestjs", "integrations/frameworks/nestjs",
"integrations/frameworks/nuxt",
"integrations/frameworks/gatsby", "integrations/frameworks/gatsby",
"integrations/frameworks/remix", "integrations/frameworks/remix",
"integrations/frameworks/vite", "integrations/frameworks/vite",
"integrations/frameworks/fiber",
"integrations/frameworks/django", "integrations/frameworks/django",
"integrations/frameworks/flask", "integrations/frameworks/flask",
"integrations/frameworks/laravel", "integrations/frameworks/laravel",
+1 -1
View File
@@ -51,7 +51,7 @@ export default function SettingsBilling() {
orgId: localStorage.getItem("orgData.id"), orgId: localStorage.getItem("orgData.id"),
}); });
setCurrentPlan(subscriptions.data[0].plan.product); setCurrentPlan(subscriptions.data[0].plan.id);
const orgUsers = await getOrganizationUsers({ const orgUsers = await getOrganizationUsers({
orgId: localStorage.getItem("orgData.id"), orgId: localStorage.getItem("orgData.id"),
}); });