An open API service indexing awesome lists of open source software.

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

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.