You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download app.spec from https://github.com/joincomet/comet/blob/main/.do/app.yaml
Change name/region if you want
Change to latest or a specific version ie v0.0.79. Latest version can be found at https://github.com/joincomet/comet/tags. The tag you are using should be the same version as your frontend deployment (more info on frontend below)
Change the environment variables under envs section (dont touch the first 3 and you can remove SENTRY_DSN)
For the AWS related variables you can use DigitalOcean Spaces or AWS S3 (I am using Spaces)
If you are using Spaces name the bucket the same as the domain you are hosting media on (ie media.joincomet.app). Specify this in the MEDIA_DOMAIN variable
Remove the domains section or change the domain if you have a custom domain you want to use
The Redis server is optional if you will not be horizontally scaling (and will save you money if you don't use it). If you don't want to use Redis, remove REDIS_URL from envs and remove the redis section from databases
Install doctl (https://github.com/digitalocean/doctl), log in, and run doctl apps create --spec ./app.spec
DO is only used for the backend, hosting the frontend is up to you. It is a React client-side site, so you have a lot of options. I am using Github Pages and an Action to build/deploy it, but I'm not sure if that's an option for forks.
One option is fork the repo and use Cloudflare Pages (https://pages.cloudflare.com/).
Tell Cloudflare Pages to run yarn run build:web
Set output directory to web/dist.
Cloudflare Pages builds a new deployment every time you commit to the repo. You can use empty commits to force a rebuild.
Set environment variable VITE_API_DOMAIN to the domain the DO app is running on (ie api.joincomet.app)
No description provided.
The text was updated successfully, but these errors were encountered: