remix-shop-run Tailwind Templates

Remix Shop Run

Shopping list app built with Remix Run, Prisma, Tailwind, SQLite. Hosted on fly.io.

SHOP RUN

Local Development

cd Documents/Remix/remix-shop-run

npm run dev

PORT=10000 npm run dev

npx prisma studio

npx prisma db push

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

Fly Setup notes

  1. Use Remix flyio set up at initial set up

  2. Add secrects before deploy (supabase, session etc) eg fly secrets set SESSION_SECRET="mysecrectblah"

  3. fly volumes create data --size 1 --app my-flyio-app-name

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.

Top categories

Loading Svelte Themes