https://github.com/daniellaera/jokester
Jokes App Remix Prisma PostgreSQL Deploy Fly Heroku
https://github.com/daniellaera/jokester
Last synced: about 2 months ago
JSON representation
Jokes App Remix Prisma PostgreSQL Deploy Fly Heroku
- Host: GitHub
- URL: https://github.com/daniellaera/jokester
- Owner: daniellaera
- Created: 2022-01-09T11:42:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-16T22:50:00.000Z (over 3 years ago)
- Last Synced: 2025-01-18T04:26:41.232Z (3 months ago)
- Language: TypeScript
- Homepage: https://jokester-app.fly.dev/
- Size: 223 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to Remix!
- [Remix Docs](https://remix.run/docs)
## Fly Setup
1. [Install Fly](https://fly.io/docs/getting-started/installing-flyctl/)
2. Sign up and log in to Fly
```sh
flyctl auth signup
```3. Setup Fly. It might ask if you want to deploy, say no since you haven't built the app yet.
```sh
flyctl launch
```## Development
From your terminal:
```sh
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:
```sh
npm run deploy
```## Prisma migrate Heroku
`npx prisma migrate resolve --applied "20220109091633_first" --preview-feature`
then
`prisma db push`You can run `flyctl info` to get the url and ip address of your server.
Check out the [fly docs](https://fly.io/docs/getting-started/node/) for more information.