Skip to content

Commit ffefbe4

Browse files
authored
Add docs for packages (#24)
1 parent 05488eb commit ffefbe4

File tree

2 files changed

+57
-7
lines changed

2 files changed

+57
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
Install [Coder](https://github.com/coder/coder) to your preferred cloud with a pre-built package.
44

5-
| Logo | Platform Name | Status | Documentation | Deploy |
6-
| ---------------------------------------------------------------------------------------- | --------------------- | ----------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
7-
| <img src="./assets/ec2.svg" alt="AWS EC2 Logo" width="100" height="100" /> | AWS EC2 | Live ✅ | [Quickstart: AWS](https://coder.com/docs/v2/latest/quickstart/aws) | [Deploy from AWS Marketplace](https://aws.amazon.com/marketplace/pp/prodview-5gxjyur2vc7rg?sr=0-2&ref_=beagle&applicationId=AWSMPContessa) |
8-
| <img src="./assets/fly.io.svg" alt="Fly.io Logo" width="100" height="100" /> | Fly.io | Live ✅ | [Blog: Run Coder on Fly.io](https://coder.com/blog/remote-developer-environments-on-fly-io) | [Deploy Coder on FLy.io](https://coder.com/blog/remote-developer-environments-on-fly-io) |
9-
| <img src="./assets/railway.svg" alt="Railway.app Logo" width="100" height="100" /> | Railway.app | Live ✅ | | [![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/cUQ8_P?referralCode=tfH8Uw) |
10-
| <img src="./assets/heroku.svg" alt="Heroku Logo" width="100" height="100" /> | Heroku | Live ✅ | | [![Deploy Coder on Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/coder/packages) |
11-
| <img src="./assets/render.png" alt="Render.com Logo" width="100" height="100" /> | Render.com | Live ✅ | | [![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/coder/packages) |
5+
| Logo | Platform Name | Status | Documentation | Deploy |
6+
| ---------------------------------------------------------------------------------------- | --------------------- | ----------- | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
7+
| <img src="./assets/ec2.svg" alt="AWS EC2 Logo" width="100" height="100" /> | AWS EC2 | Live ✅ | [Quickstart: AWS](https://coder.com/docs/v2/latest/quickstart/aws) | [Deploy from AWS Marketplace](https://aws.amazon.com/marketplace/pp/prodview-5gxjyur2vc7rg?sr=0-2&ref_=beagle&applicationId=AWSMPContessa) |
8+
| <img src="./assets/fly.io.svg" alt="Fly.io Logo" width="100" height="100" /> | Fly.io | Live ✅ | [Blog: Run Coder on Fly.io](https://coder.com/blog/remote-developer-environments-on-fly-io) | [Deploy Coder on FLy.io](https://coder.com/blog/remote-developer-environments-on-fly-io) |
9+
| <img src="./assets/railway.svg" alt="Railway.app Logo" width="100" height="100" /> | Railway.app | Live ✅ | [Blog: Run Coder on Railway.app](https://coder.com/blog/deploy-coder-on-railway-app) | [![Deploy Coder on Railway](https://railway.app/button.svg)](https://railway.app/template/cUQ8_P?referralCode=tfH8Uw) |
10+
| <img src="./assets/heroku.svg" alt="Heroku Logo" width="100" height="100" /> | Heroku | Live ✅ | [Docs: Deploy Coder on Heroku](./heroku/README.md) | [![Deploy Coder on Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/coder/packages) |
11+
| <img src="./assets/render.png" alt="Render.com Logo" width="100" height="100" /> | Render | Live ✅ | [Docs: Deploy Coder on Render](./render/README.md) | [![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/coder/packages) |
1212
| <img src="./assets/eks.svg" alt="AWS EKS Logo" width="100" height="100" /> | AWS EKS | In progress | [Docs: Coder on Kubernetes](https://coder.com/docs/v2/latest/install/kubernetes) | [Deploy from AWS Marketplace](https://example.com) |
1313
| <img src="./assets/gce.svg" alt="Google Compute Engine logo" width="100" height="100" /> | Google Compute Engine | Considering | [Guide: Google Compute Engine](https://coder.com/docs/v2/latest/platforms/google-cloud-platform) | |

heroku/README.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Coder on Heroku
2+
3+
## Deploying a Coder instance to Heroku
4+
5+
### Prerequisites
6+
7+
- A Heroku account
8+
- Heroku CLI installed
9+
10+
### Steps
11+
12+
1. Create a new Heroku app by using our deploy button below. This will automatically create a new app and deploy the latest version of Coder to it along with a basic postgres database.
13+
14+
[![Deploy Coder on Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/coder/packages)
15+
16+
2. Enable dyno metadata by running the following command in the terminal:
17+
18+
```bash
19+
heroku labs:enable runtime-dyno-metadata -a <app-name>
20+
```
21+
22+
Replace `<app-name>` with the name of your Heroku app.
23+
24+
> **Note:** `HEROKU_APP_NAME` is required by Coder to configure the `CODER_ACCESS_URL` environment variable. This is made available by enabling dyno metadata.
25+
26+
3. Clone the repository to your local machine and connect it to your Heroku app by running the following commands in the terminal:
27+
28+
```bash
29+
git clone https://githib.com/coder/packages
30+
heroku git:remote -a <app-name>
31+
```
32+
33+
Replace `<app-name>` with the name of your Heroku app.
34+
35+
## Updating Coder
36+
37+
If you want to update Coder to the latest version, you can redeploy your app by running the following command from the root of your repository:
38+
39+
```bash
40+
git pull origin main
41+
git push heroku main
42+
```
43+
44+
Replace `<app-name>` with the name of your Heroku app.
45+
46+
## Next steps
47+
48+
- Check out our [documentation](https://coder.com/docs) to learn how to configure your Coder instance.
49+
50+
- You can add environment variables to an Heroku app by going to the app's settings page and clicking on the "Reveal Config Vars" button.

0 commit comments

Comments
 (0)