render
This commit is contained in:
14
README.md
14
README.md
@@ -1,18 +1,16 @@
|
|||||||
[](https://heroku.com/deploy?template=https://github.com/TerribleDev/remix-heroku)
|
[](https://render.com/deploy)
|
||||||
|
# Remix stack for Render.com
|
||||||
|
|
||||||
# Remix stack for heroku
|
This is a very simple remix stack built for [render.com](https://render.com). This includes:
|
||||||
|
|
||||||
This is a very simple remix stack built for heroku. This includes:
|
|
||||||
|
|
||||||
* dotenv to load environment variables
|
|
||||||
* Postgres Sql for a datastore
|
* Postgres Sql for a datastore
|
||||||
* Prism ORM for database queries
|
* Prism ORM for database queries
|
||||||
|
|
||||||
## How to use this?
|
## How to use this?
|
||||||
|
|
||||||
run `npx create-remix@latest --template terribledev/remix-heroku`
|
* run `npx create-remix@latest --template terribledev/remix-render`
|
||||||
|
* Create a new github repo and push the output up
|
||||||
Either provision a new heroku app with a postgres database or use the `deploy to heroku button` to setup your app.
|
* Use the deploy to render button in your repository to deploy your app
|
||||||
|
|
||||||
|
|
||||||
## Developing
|
## Developing
|
||||||
|
|||||||
16
render.yaml
Normal file
16
render.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
databases:
|
||||||
|
- name: remix-render
|
||||||
|
databaseName: remix-render
|
||||||
|
user: mysite
|
||||||
|
|
||||||
|
services:
|
||||||
|
- type: web
|
||||||
|
name: remix-render
|
||||||
|
env: node
|
||||||
|
buildCommand: "npm install && npx prisma migrate deploy"
|
||||||
|
startCommand: "npm run start"
|
||||||
|
envVars:
|
||||||
|
- key: DATABASE_URL
|
||||||
|
fromDatabase:
|
||||||
|
name: remix-render
|
||||||
|
property: connectionString
|
||||||
Reference in New Issue
Block a user