Skip to content

hi-ogawa/remix-netlify-manual-build

Repository files navigation

remix-netlify-manual-build

pnpm install

pnpm run dev  # start remix app
pnpm run tsc:dev  # type check
pnpm run tailwind:dev  # tailwind css generation

pnpm run lint

pnpm run build
pnpm run deploy

# netlify initial setup
netlify sites:create --name remix-netlify-manual-build-hiro18181
netlify link --name remix-netlify-manual-build-hiro18181

# database setup
pnpm run services:up
pnpm run db:setup

# migration on production
pnpx knex --knexfile knexfile.production.js migrate:latest

# testing
# - jest
pnpm run db:setup:test
pnpm run test
# - playwright
pnpm run db:setup:test
pnpx playwright install
pnpm run test:playwright

references