Skip to content

mbookham7/global-app-demo

Repository files navigation

Global App Demo

A global app that uses Multi-region CockroachDB and Fly

Fly Setup

  1. Install flyctl

  2. Sign up and log in to Fly

flyctl auth signup
  1. Setup Fly. It might ask if you want to deploy, say no since you haven't built the app yet.
flyctl launch

Development

From your terminal:

npm run dev

This starts your app in development mode, rebuilding assets on file changes.

Deployment

If you've followed the setup instructions already, all you need to do is run this:

npm run deploy

You can run flyctl info to get the url and ip address of your server.

Check out the fly docs for more information.

📝 License

Copyright © 2023 Cockroach Labs.
This project is MIT licensed.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 82.8%
  • JavaScript 9.9%
  • CSS 4.4%
  • Dockerfile 2.9%