Skip to content

Commit 6468b35

Browse files
committed
Add Django, Rails integration instructions to docs and move cli login to overview page
1 parent c6777e4 commit 6468b35

File tree

8 files changed

+51
-19
lines changed

8 files changed

+51
-19
lines changed

docs/cli/overview.mdx

+6
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,9 @@ The Infisical CLI provides a way to inject environment variables from the platfo
9595

9696
</Tab>
9797
</Tabs>
98+
99+
## Log in to the Infisical CLI
100+
101+
```bash
102+
infisical login
103+
```

docs/cli/usage.mdx

+5-11
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ title: "Usage"
44

55
Prerequisite: [Install the CLI](/cli/overview)
66

7-
## Log in to the Infisical CLI
8-
9-
```bash
10-
infisical login
11-
```
12-
137
## Initialize Infisical for your project
148

159
```bash
@@ -29,11 +23,11 @@ infisical run -- [your application start command]
2923

3024
Options you can specify:
3125

32-
| Option | Description | Default value |
33-
| ------------- | ----------------------------------------------------------------------------------------------------------- | ------------- |
34-
| `--env` | Used to set the environment that secrets are pulled from. Accepted values: `dev`, `staging`, `test`, `prod` | `dev` |
35-
| `--projectId` | Used to link a local project to the platform (required only if injecting via the service token method) | `None` |
36-
| `--expand` | Parse shell parameter expansions in your secrets (e.g., `${DOMAIN}`) | `true` |
26+
| Option | Description | Default value |
27+
| ------------- | ----------------------------------------------------------------------------------------------------------- | ------------- |
28+
| `--env` | Used to set the environment that secrets are pulled from. Accepted values: `dev`, `staging`, `test`, `prod` | `dev` |
29+
| `--projectId` | Used to link a local project to the platform (required only if injecting via the service token method) | `None` |
30+
| `--expand` | Parse shell parameter expansions in your secrets (e.g., `${DOMAIN}`) | `true` |
3731

3832
## Examples:
3933

docs/integrations/frameworks/django.mdx

+17-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,20 @@
22
title: "Django"
33
---
44

5-
Instructions coming soon.
5+
Prerequisite: [Install the CLI](/cli/overview)
6+
7+
## Initialize Infisical for your [Django](https://www.djangoproject.com) project
8+
9+
```bash
10+
# move to your Django project
11+
cd /path/to/project
12+
13+
# initialize infisical
14+
infisical init
15+
```
16+
17+
## Start your server with environment variables injected
18+
19+
```bash
20+
infisical run -- python manage.py runserver
21+
```
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Fibre"
2+
title: "Fiber"
33
---
44

55
Coming soon.

docs/integrations/frameworks/nextjs.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "Next.js"
44

55
Prerequisite: [Install the CLI](/cli/overview)
66

7-
## Initialize Infisical for your [Next.js](https://nextjs.org)
7+
## Initialize Infisical for your [Next.js](https://nextjs.org) app
88

99
```bash
1010
# move to your Next.js app

docs/integrations/frameworks/rails.mdx

+17-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,20 @@
22
title: "Ruby on Rails"
33
---
44

5-
Instructions coming soon.
5+
Prerequisite: [Install the CLI](/cli/overview)
6+
7+
## Initialize Infisical for your [Rails](https://rubyonrails.org) app
8+
9+
```bash
10+
# move to your Rails app
11+
cd /path/to/project
12+
13+
# initialize infisical
14+
infisical init
15+
```
16+
17+
## Start your server with environment variables injected
18+
19+
```bash
20+
infisical run -- bin/rails server
21+
```

docs/integrations/overview.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ Missing an integration? Throw in a [request](https://github.com/Infisical/infisi
3131
| [Gatsby](/integrations/frameworks/gatsby) | Framework | Available |
3232
| [Remix](/integrations/frameworks/remix) | Framework | Available |
3333
| [Vite](/integrations/frameworks/vite) | Framework | Available |
34-
| [Fibre](/integrations/frameworks/fibre) | Framework | Coming soon |
35-
| [Django](/integrations/frameworks/django) | Framework | Coming soon |
34+
| [Fiber](/integrations/frameworks/fiber) | Framework | Coming soon |
35+
| [Django](/integrations/frameworks/django) | Framework | Available |
3636
| [Flask](/integrations/frameworks/flask) | Framework | Available |
3737
| [Laravel](/integrations/frameworks/laravel) | Framework | Coming soon |
38-
| [Ruby on Rails](/integrations/frameworks/rails) | Framework | Coming soon |
38+
| [Ruby on Rails](/integrations/frameworks/rails) | Framework | Available |

docs/mint.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
"integrations/frameworks/gatsby",
143143
"integrations/frameworks/remix",
144144
"integrations/frameworks/vite",
145-
"integrations/frameworks/fibre",
145+
"integrations/frameworks/fiber",
146146
"integrations/frameworks/django",
147147
"integrations/frameworks/flask",
148148
"integrations/frameworks/laravel",

0 commit comments

Comments
 (0)