Skip to content

Commit

Permalink
Update README and title
Browse files Browse the repository at this point in the history
  • Loading branch information
infomiho committed Aug 26, 2024
1 parent 0cce863 commit 46fc5e0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@ Live app: https://render-ghcr-client-main.onrender.com

## Deploying to Render.com

[![Deploy](https://github.com/wasp-lang/render-ghcr/actions/workflows/deploy.yml/badge.svg)](https://github.com/wasp-lang/render-ghcr/actions/workflows/deploy.yml)

This app is deployed using Render.com and Github Container Repository.

It builds the app and Docker images for the server and the client in the Github action. The images are then pushed to the Github Container Registry.

Check the action source code here: https://github.com/wasp-lang/render-ghcr/blob/main/.github/workflows/deploy.yml

You'll need to create 2 web services (one for the server and one for the client) on Render.com and a PostgreSQL database.

You'll need to set the following environment variables for the server:
- `DATABASE_URL` - the connection string to your PostgreSQL database
- `PORT` - the port on which the server will run (default is 3001)
- `JWT_SECRET` - secret for JWT token
- `WASP_SERVER_URL` - the URL of the server
- `WASP_WEB_CLIENT_URL` - the URL of the client
2 changes: 1 addition & 1 deletion main.wasp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ app renderGhcr {
wasp: {
version: "^0.14.0"
},
title: "render-ghcr",
title: "Using Render.com is fun",

auth: {
userEntity: User,
Expand Down

0 comments on commit 46fc5e0

Please sign in to comment.