Skip to content

Commit 4cdfc02

Browse files
authored
Format source code (#27)
1 parent c5f79ea commit 4cdfc02

31 files changed

Lines changed: 224 additions & 191 deletions

File tree

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.vale/
2+
pnpm-lock.yaml

.prettierrc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
printWidth: 100
2-
proseWrap: always
2+
proseWrap: preserve

docs/cloud/deploys/integrations/index.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: "Integration Guides"
3-
description:
4-
"This section contains guides on how to integrate common services with your Jetify deployments."
3+
description: "This section contains guides on how to integrate common services with your Jetify deployments."
54
---
65

76
- [PostgresQL with Supabase](/docs/cloud/deploys/integrations/supabase/)

docs/devbox/cli-reference/devbox-global-pull/index.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: "devbox global pull"
3-
description:
4-
"Pulls a global config from a file or URL. URLs must be prefixed with 'http://' or 'https://'."
3+
description: "Pulls a global config from a file or URL. URLs must be prefixed with 'http://' or 'https://'."
54
---
65

76
```bash

docs/devbox/cli-reference/devbox-global-push/index.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: "devbox global push"
3-
description:
4-
"Push a [global] config. Leave empty to use Jetify sync. Can be a git repo for self storage."
3+
description: "Push a [global] config. Leave empty to use Jetify sync. Can be a git repo for self storage."
54
---
65

76
```bash

docs/devbox/cli-reference/devbox-services-restart/index.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: "devbox services restart"
3-
description:
4-
"Restarts service. If no service is specified, restarts all services and process-compose."
3+
description: "Restarts service. If no service is specified, restarts all services and process-compose."
54
---
65

76
```bash

docs/devbox/devbox-examples/languages/python/index.mdx

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,14 @@ this path by setting the `VENV_DIR` environment variable in your devbox.json:
5555

5656
```json
5757
{
58-
"packages": [
59-
"[email protected]"
60-
],
61-
"env": {
62-
// Install your virtual environment in `.venv`
63-
"VENV_DIR": ".venv"
64-
},
65-
"shell": {
66-
"init_hook": ". $VENV_DIR/bin/activate"
67-
}
58+
"packages": ["[email protected]"],
59+
"env": {
60+
// Install your virtual environment in `.venv`
61+
"VENV_DIR": ".venv"
62+
},
63+
"shell": {
64+
"init_hook": ". $VENV_DIR/bin/activate"
65+
}
6866
}
6967
```
7068

@@ -74,13 +72,10 @@ install:
7472

7573
```json
7674
{
77-
"packages": [
78-
"[email protected]",
79-
"python310Packages.pip"
80-
],
81-
"shell": {
82-
"init_hook": ". $VENV_DIR/bin/activate"
83-
}
75+
"packages": ["[email protected]", "python310Packages.pip"],
76+
"shell": {
77+
"init_hook": ". $VENV_DIR/bin/activate"
78+
}
8479
}
8580
```
8681

docs/devbox/devbox-examples/stacks/lapp/index.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ description:
2323
2. Add the packages using the command below. Installing the packages with `devbox add` will ensure
2424
that the plugins are activated:
2525

26-
```bash
27-
devbox add postgresql@14 php php83Extensions.pgsql@latest [email protected]
28-
```bash
26+
```bash
27+
devbox add postgresql@14 php php83Extensions.pgsql@latest [email protected]
28+
```
2929

30-
1. Update `devbox.d/apache/httpd.conf` to point to the directory with your PHP files. You'll need to
30+
3. Update `devbox.d/apache/httpd.conf` to point to the directory with your PHP files. You'll need to
3131
update the `DocumentRoot` and `Directory` directives.
32-
2. Follow the instructions above in the How to Run section to initialize your project
32+
4. Follow the instructions above in the How to Run section to initialize your project
3333

3434
[Edit this page](https://github.com/jetify-com/docs/tree/main/docs/devbox/devbox-examples/stacks/lapp/index.mdx)

docs/devbox/devbox-examples/stacks/laravel/index.mdx

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,24 +46,31 @@ Devbox Plugins for all 3 Nix packages to simplify configuration
4646

4747
```bash
4848
devbox add mariadb@latest, [email protected], nodejs@18, redis@latest, php81Packages.composer@latest
49-
```bash
49+
```
5050

5151
3. Run `devbox shell` to start your shell. This will also initialize your database by running
5252
`initdb` in the init hook.
5353

5454
4. Create your laravel project by running:
5555

56-
```
56+
```bash
5757
composer create-project laravel/laravel tmpmv tmp/* tmp/.* .
58-
```bash
58+
```
5959

6060
### Setting up MariaDB[](#setting-up-mariadb "Direct link to Setting up MariaDB")
6161

6262
To use MariaDB, you need to create the default Laravel database. You can do this by running the
6363
following commands in your `devbox shell`:
6464

65-
```
66-
# Start the MariaDB servicedevbox services up mariadb -b# Create the databasemysql -u root -e "CREATE DATABASE laravel;"# Once you're done, stop the MariaDB servicedevbox services stop mariadb
6765
```bash
66+
# Start the MariaDB service
67+
devbox services up mariadb -b
68+
69+
# Create the database
70+
mysql -u root -e "CREATE DATABASE laravel;"
71+
72+
# Once you're done, stop the MariaDB service
73+
devbox services stop mariadb
74+
```
6875

6976
[Edit this page](https://github.com/jetify-com/docs/tree/main/docs/devbox/devbox-examples/stacks/laravel/index.mdx)

docs/devbox/devbox-examples/stacks/lepp/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ You can query Nginx on port 80, which will route to the PHP example.
3737

3838
```bash
3939
devbox add postgresql@14 [email protected] php81Extensions.pgsql@latest [email protected]
40-
```bash
40+
```
4141

4242
1. Update `devbox.d/nginx/httpd.conf` to point to the directory with your PHP files. You'll need to
4343
update the `root` directive to point to your project folder

0 commit comments

Comments
 (0)