cd Documents/Remix/remix-shop-run
npm run dev
PORT=10000 npm run dev
npx prisma studio
npx prisma db push
Sign up and log in to Fly
flyctl auth signup
flyctl launch
Use Remix flyio set up at initial set up
Add secrects before deploy (supabase, session etc) eg fly secrets set SESSION_SECRET="mysecrectblah"
fly volumes create data --size 1 --app my-flyio-app-name
From your terminal:
npm run dev
This starts your app in development mode, rebuilding assets on file changes.
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.