Skip to content

linobino1/walls-and-birds-web

Repository files navigation

Welcome to RePay!

Simple template to get started with Remix and PayloadCMS, without the monorepo messiness!

repay-header

Development

Copy .env.example to .env and fill the required environment variables.

yarn;
yarn dev

Deployment

First, build your app for production:

yarn build

Then run the app in production mode:

yarn start

Fly.io Setup

  1. Create an account on Fly.io
  2. Install the Fly CLI
  3. Run flyctl login and follow the prompts
  4. Run flyctl launch in the project root
  5. Enter y to copy its configuration to the new app
  6. Enter N to tweak these settings
  7. The app should deploy now
  8. Now you can set up the Github Action

Github Action

  1. Create a deploy token by running flyctl tokens create deploy
  2. Create a new secret on your repository called FLY_API_TOKEN with your deploy token at Settings > Secrets and Variables > Actions

Media Files

Media files should be stored in a S3 bucket. Create a bucket at Cloudflare, AWS, or any other provider and fill the required environment variables in the .env file. When using Cloudflare R2, specify S3_REGION=auto

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published