Skip to content

Commit 2385506

Browse files
committed
Update URLs
1 parent df81e07 commit 2385506

29 files changed

+88
-70
lines changed

docs/app/docs/devbox_examples/databases/mariadb.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ MariaDB can be automatically configured for your dev environment by Devbox via t
55

66
[**Example Repo**](https://github.com/jetify-com/devbox/tree/main/examples/databases/mariadb)
77

8-
[![Open In Devbox.sh](https://www.jetify.com/img/devbox/open-in-devbox.svg)](https://devbox.sh/open/templates/mariadb)
8+
[![Open In Devbox.sh](https://www.jetify.com/img/devbox/open-in-devbox.svg)](https://cloud.jetify.com/new/github.com/jetify-com/devbox?folder=examples/databases/mariadb)
99

1010
## Adding MariaDB to your Shell
1111

@@ -24,14 +24,15 @@ You can manually add the MariaDB Plugin to your `devbox.json` by adding it to yo
2424
"plugin:mariadb"
2525
]
2626
```
27+
2728
This will install the latest version of MariaDB. You can find other installable versions of MariaDB by running `devbox search mariadb`. You can also view the available versions on [Nixhub](https://www.nixhub.io/packages/mariadb)
2829

2930
## MariaDB Plugin Support
3031

3132
Devbox will automatically create the following configuration when you run `devbox add mariadb`. You can view the full configuration by running `devbox info mariadb`
3233

33-
3434
### Services
35+
3536
* mariadb
3637

3738
You can use `devbox services up|stop mariadb` to start or stop the MariaDB Server.
@@ -82,4 +83,4 @@ You can disable the MariaDB plugin by running `devbox add mariadb --disable-plug
8283
}
8384
}
8485
}
85-
```
86+
```

docs/app/docs/devbox_examples/databases/mongodb.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ MongoDB is a popular NoSQL database that is available on Nixpkgs. You can config
66

77
## Adding MongoDB to your Shell
88

9-
You can start by adding the mongodb server to your project by running `devbox add mongodb`. We also recommend adding the MongoDB shell for interacting with your database using `devbox add mongosh`:
9+
You can start by adding the mongodb server to your project by running `devbox add mongodb`. We also recommend adding the MongoDB shell for interacting with your database using `devbox add mongosh`:
1010

1111
```json
1212
"packages": [
@@ -23,7 +23,7 @@ You can add the MongoDB Plugin to your `devbox.json` by adding it to your `inclu
2323
]
2424
```
2525

26-
Adding these packages and the plugin will configure Devbox for working with MongoDB.
26+
Adding these packages and the plugin will configure Devbox for working with MongoDB.
2727

2828
## Starting the MongoDB Service
2929

@@ -38,7 +38,7 @@ processes:
3838
max_restarts: 5
3939
```
4040
41-
You can configure this service by modifying the environment variable shown below.
41+
You can configure this service by modifying the environment variable shown below.
4242
4343
If you want to create your own version of the mongodb service, you can create a process-compose.yaml in your project's root, and define a new process named `mongodb`. For more details, see the [process-compose documentation](https://f1bonacc1.github.io/process-compose/)
4444

docs/app/docs/devbox_examples/databases/mysql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ This will install the latest version of MySQL. You can find other installable ve
3333

3434
Devbox will automatically create the following configuration when you run `devbox add mysql80` or `devbox add mysql57`. You can view the full configuration by running `devbox info mysql`
3535

36-
3736
### Services
37+
3838
* mysql
3939

4040
You can use `devbox services up|stop mysql` to start or stop the MySQL Server.
@@ -85,4 +85,4 @@ You can disable the built-in MySQL plugin using `devbox add mysql80 --disable-pl
8585
}
8686
}
8787
}
88-
```
88+
```

docs/app/docs/devbox_examples/databases/postgres.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PostgreSQL can be automatically configured by Devbox via the built-in Postgres P
55

66
[**Example Repo**](https://github.com/jetify-com/devbox/tree/main/examples/databases/postgres)
77

8-
[![Open In Devbox.sh](https://www.jetify.com/img/devbox/open-in-devbox.svg)](https://devbox.sh/open/templates/postgres)
8+
[![Open In Devbox.sh](https://www.jetify.com/img/devbox/open-in-devbox.svg)](https://cloud.jetify.com/new/github.com/jetify-com/devbox?folder=examples/databases/postgres)
99

1010
## Adding Postgres to your Shell
1111

@@ -30,6 +30,7 @@ This will install the latest version of Postgres. You can find other installable
3030
Devbox will automatically create the following configuration when you run `devbox add postgresql`:
3131

3232
### Services
33+
3334
* postgresql
3435

3536
You can use `devbox services start|stop postgresql` to start or stop the Postgres server in the background.
@@ -44,14 +45,19 @@ This variable tells PostgreSQL which directory to use for creating and storing d
4445
### NOTES
4546

4647
1. To initialize PostgreSQL run:
48+
4749
```sh
4850
initdb
4951
```
50-
3. You also need to create a user using:
52+
53+
1. You also need to create a user using:
54+
5155
```sh
5256
createuser --interactive
5357
```
54-
5. (OPTIONAL) If the user has no permissions to create or drop a database, you also need to create a database using:
58+
59+
1. (OPTIONAL) If the user has no permissions to create or drop a database, you also need to create a database using:
60+
5561
```sh
5662
createdb <db-name>
5763
```
@@ -81,4 +87,4 @@ You can disable the Postgres plugin by running `devbox add postgresql --disable-
8187
}
8288
}
8389
}
84-
```
90+
```

docs/app/docs/devbox_examples/databases/redis.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Redis can be configured automatically using Devbox's built in Redis plugin. This
66

77
[**Example Repo**](https://github.com/jetify-com/devbox/tree/main/examples/databases/redis)
88

9-
[![Open In Devbox.sh](https://www.jetify.com/img/devbox/open-in-devbox.svg)](https://devbox.sh/open/templates/redis)
9+
[![Open In Devbox.sh](https://www.jetify.com/img/devbox/open-in-devbox.svg)](https://cloud.jetify.com/new/github.com/jetify-com/devbox?folder=examples/databases/redis)
1010

1111
## Adding Redis to your shell
1212

@@ -36,7 +36,6 @@ The following helper files will be created in your project directory:
3636

3737
* \{PROJECT_DIR\}/devbox.d/redis/redis.conf
3838

39-
4039
### Environment Variables
4140

4241
```bash
@@ -65,4 +64,4 @@ You can disable the Redis plugin by running `devbox add redis --disable-plugin`,
6564
}
6665
}
6766
}
68-
```
67+
```

docs/app/docs/devbox_examples/databases/valkey.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Valkey can be configured automatically using Devbox's built in Valkey plugin. Th
66

77
[**Example Repo**](https://github.com/jetify-com/devbox/tree/main/examples/databases/valkey)
88

9-
[![Open In Devbox.sh](https://www.jetify.com/img/devbox/open-in-devbox.svg)](https://devbox.sh/open/templates/valkey)
9+
[![Open In Devbox.sh](https://www.jetify.com/img/devbox/open-in-devbox.svg)](https://cloud.jetify.com/new/github.com/jetify-com/devbox?folder=examples/databases/valkey)
1010

1111
## Adding Valkey to your shell
1212

@@ -36,7 +36,6 @@ The following helper files will be created in your project directory:
3636

3737
* \{PROJECT_DIR\}/devbox.d/valkey/valkey.conf
3838

39-
4039
### Environment Variables
4140

4241
```bash
@@ -65,4 +64,4 @@ You can disable the Valkey plugin by running `devbox add valkey --disable-plugin
6564
}
6665
}
6766
}
68-
```
67+
```

docs/app/docs/devbox_examples/languages/csharp.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ C# and .NET projects can be easily generated in Devbox by adding the dotnet SDK
66

77
[**Example Repo**](https://github.com/jetify-com/devbox/tree/main/examples/development/csharp)
88

9-
[![Open In Devbox.sh](https://www.jetify.com/img/devbox/open-in-devbox.svg)](https://devbox.sh/open/templates/dotnet)
9+
[![Open In Devbox.sh](https://www.jetify.com/img/devbox/open-in-devbox.svg)](https://cloud.jetify.com/new/github.com/jetify-com/devbox?folder=examples/development/csharp)
1010

1111
## Adding .NET to your project
1212

@@ -17,6 +17,7 @@ C# and .NET projects can be easily generated in Devbox by adding the dotnet SDK
1717
"dotnet-sdk@latest"
1818
],
1919
```
20+
2021
This will install the latest version of the dotnet SDK. You can find other installable versions of the dotnet SDK by running `devbox search dotnet-sdk`.
2122

2223
If you need a specific version of the .NET SDK, you can search on [Nixhub](https://www.nixhub.io/search?q=dotnet)

docs/app/docs/devbox_examples/languages/elixir.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ Elixir can be configured to install Hex and Rebar dependencies in a local direct
66

77
[**Example Repo**](https://github.com/jetify-com/devbox/tree/main/examples/development/elixir/elixir_hello)
88

9-
[![Open In Devbox.sh](https://www.jetify.com/img/devbox/open-in-devbox.svg)](https://devbox.sh/open/templates/elixir)
10-
9+
[![Open In Devbox.sh](https://www.jetify.com/img/devbox/open-in-devbox.svg)](https://cloud.jetify.com/new/github.com/jetify-com/devbox?folder=examples/development/elixir/elixer_hello)
1110

1211
## Adding Elixir to your project
1312

docs/app/docs/devbox_examples/languages/fsharp.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ F# and .NET projects can be easily generated in Devbox by adding the dotnet SDK
66

77
[**Example Repo**](https://github.com/jetify-com/devbox/tree/main/examples/development/fsharp)
88

9-
[![Open In Devbox.sh](https://www.jetify.com/img/devbox/open-in-devbox.svg)](https://devbox.sh/open/templates/fsharp)
9+
[![Open In Devbox.sh](https://www.jetify.com/img/devbox/open-in-devbox.svg)](https://cloud.jetify.com/new/github.com/jetify-com/devbox?folder=examples/development/fsharp)
1010

1111
## Adding .NET to your project
1212

@@ -17,6 +17,7 @@ F# and .NET projects can be easily generated in Devbox by adding the dotnet SDK
1717
"dotnet-sdk@latest"
1818
],
1919
```
20+
2021
This will install the latest version of the dotnet SDK. You can find other installable versions of the dotnet SDK by running `devbox search dotnet-sdk`. You can also view the available versions on [Nixhub](https://www.nixhub.io/search?q=dotnet)
2122

2223
## Creating a new F# Project

docs/app/docs/devbox_examples/languages/go.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Go projects can be run in Devbox by adding the Go SDK to your project. If your p
66

77
[**Example Repo**](https://github.com/jetify-com/devbox/tree/main/examples/development/go/hello-world)
88

9-
[![Open In Devbox.sh](https://www.jetify.com/img/devbox/open-in-devbox.svg)](https://devbox.sh/open/templates/go)
9+
[![Open In Devbox.sh](https://www.jetify.com/img/devbox/open-in-devbox.svg)](https://cloud.jetify.com/new/github.com/jetify-com/devbox?folder=examples/development/go)
1010

1111
## Adding Go to your Project
1212

@@ -32,9 +32,9 @@ If you need additional C libraries, you can add them along with `gcc` to your pa
3232

3333
## Installing go packages that have CLIs
3434

35-
Installing go packages in your devbox shell is as simple as `go get <package_name>` but some packages come with a CLI of their own (e.g., `godotenv`). That means after installing the package you should be able to use the CLI binary and also control where that binary is installed. This is done by setting `$GOPATH` or `$GOBIN` env variable.
35+
Installing go packages in your devbox shell is as simple as `go get <package_name>` but some packages come with a CLI of their own (e.g., `godotenv`). That means after installing the package you should be able to use the CLI binary and also control where that binary is installed. This is done by setting `$GOPATH` or `$GOBIN` env variable.
3636

37-
With Devbox you can set these variables in the `"env"` section of your `devbox.json` file.
37+
With Devbox you can set these variables in the `"env"` section of your `devbox.json` file.
3838
In the example below we are setting `$GOPATH` to be the same directory of our project and therefore `godotenv` binary will be located in the `bin/` subdirectory of `$GOPATH`:
3939

4040
```json

0 commit comments

Comments
 (0)