https://github.com/AlexandroMtzG/remix-page-blocks
Simple page block editor with Remix and Tailwind CSS.
https://github.com/AlexandroMtzG/remix-page-blocks
react reactjs remix remix-run remix-stack tailwindcss typescript
Last synced: 2 months ago
JSON representation
Simple page block editor with Remix and Tailwind CSS.
- Host: GitHub
- URL: https://github.com/AlexandroMtzG/remix-page-blocks
- Owner: AlexandroMtzG
- License: mit
- Created: 2022-11-25T05:05:41.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-11T05:57:24.000Z (over 1 year ago)
- Last Synced: 2024-05-02T05:55:24.098Z (over 1 year ago)
- Topics: react, reactjs, remix, remix-run, remix-stack, tailwindcss, typescript
- Language: TypeScript
- Homepage: https://remix-page-blocks.fly.dev
- Size: 1.15 MB
- Stars: 373
- Watchers: 5
- Forks: 46
- Open Issues: 1
-
Metadata Files:
- Readme: README-deploy-fly.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Deploy to Fly.io
1. Set the app `name` and `primary region` at fly.toml.
```
app = "YOUR_APP_NAME"
...
primary_region = "iad"
```The primary region should match your database (e.g. Supabase) region.
2. Create the app using `fly` CLI:
```
fly apps create YOUR_APP_NAME
```3. Set your secrets:
You can see the examples at `.env.fly.example`.
```
flyctl secrets set \
SERVER_URL=https://YOUR_APP_NAME.fly.dev \
SESSION_SECRET=abc123 \
APP_NAME="Remix Page Blocks" \
CONVERTKIT_APIKEY=abc123 \
CONVERTKIT_FORM=abc123 \
GITHUB_TOKEN=abc123 \
CONTACT_FORMSPREE=abc123 \
--app YOUR_APP_NAME
```4. Deploy the app:
```
fly deploy --remote-only
```5. Optional: Scale
```
fly scale vm shared-cpu-2x --app YOUR_APP_NAME
```