Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit 37e48d9

Browse files
committed
Merge branch 'main' of github.com:letsdiscodev/docs.letsdisco.dev
2 parents 96409e5 + 67d98b8 commit 37e48d9

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

docs/get-started/host-from-home-with-a-pi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ Replace `USER` with the username you chose and `HOST` with the hostname you chos
7878
- Click "**Add a tunnel**"
7979
- Make sure that the "**Cloudflared**" connector is selected. Click "**Next**"
8080
- Name your tunnel. For example, you could name it "homeserver". Click "**Save tunnel**"
81-
- Depending on your computer's operating system, you will be shown a snippet of code (either for Windows, Mac, Debian, etc.). Copy this snippet of code by clicking it.
81+
- Depending on your computer's operating system, you will be shown a snippet of code (either for Windows, Mac, Debian, etc.). **Don't do what Cloudflare tells you to do here.** Instead, copy this snippet of code by clicking it.
8282
- In the example below, you would click the snippet beginning with `brew install cloudflared && ...`:
8383
![Cloudflare Tunnel](/img/host-from-home-with-a-pi/cloudflare-tunnel0.png)
84-
- Paste the snippet of code into a text editor
84+
- Paste the snippet of code into a text editor (again, instead of running what cloudflare wants you to run... disco will take care of that part automatically, later).
8585
- Part of the snippet you pasted will contain a long string of text. This is the token that you will need to setup your server. Keep this token around for the next steps.
8686
- Scroll down on the page and click the "**Next**" button
8787
- You will see a section called "Add public hostname for ..."

docs/get-started/set-up-your-server.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ You will also need a dedicated domain name for the server itself (in addition to
1414

1515
First, you need to install disco on your server. For this, you run `disco init` and you pass it the SSH `user@DOMAIN` to use for disco.
1616

17-
1817
For example, if the user is `root` and the domain is `disco.example.com`
1918
```bash
2019
@@ -34,3 +33,10 @@ It will open a browser with the flow to create a Github app that will be connect
3433
Give it a name that's meaningful to you, about this server, or leave the generated name. You can change it later.
3534

3635
And then, you need to select which repositories you want to give it access to. You can change this later as well.
36+
37+
If your repo exists within a GitHub organization account, you must pass in the organization username to the disco command:
38+
39+
Run
40+
```bash
41+
disco github:apps:add --organization bigtechcorp
42+
```

docs/get-started/set-up-your-static-site-generator-site.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ Create a file named `disco.json` at the root of your repository. The `disco.json
9999
"publicPath": "dist"
100100
}
101101
}
102-
}```
102+
}
103+
```
103104

104105
The name `web` is a magic name. When disco sees it, it knows that it's the one to use to expose to the internet, create a TLS certificate for HTTPS, etc.
105106

0 commit comments

Comments
 (0)