/todos

A simple todo app made with Remix, Prisma, and Tailwind. Deployed on fly

Primary LanguageTypeScript

Welcome to Remix!

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
  1. To set up prisma I have to ssh into my instance and manually push the scema. I also had to change directories from base to /app to be in the correct place.

notes about deployment: Remember to modify callback_urls to production call backs.

fly deploy fly ssh console -s --pick instance. For some reason only the 2nd one worked then cd app npx prisma db push

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.