Skip to content

Commit

Permalink
Merge pull request appwrite#31 from Yash-Singh1/deployToHeroku
Browse files Browse the repository at this point in the history
Deploy to Heroku Button
  • Loading branch information
christyjacob4 authored Nov 28, 2021
2 parents b22055d + 10810ec commit a5a80a7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ Use the following buttons to deploy to your favourite hosting provider in one cl

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fappwrite%2Ftodo-with-react&env=REACT_APP_COLLECTION_ID,REACT_APP_PROJECT,REACT_APP_ENDPOINT&envDescription=Your%20Appwrite%20Endpoint%2C%20Project%20ID%20and%20Collection%20ID%20)

[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/appwrite/demo-todo-with-react)

[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/appwrite/todo-with-react)

[![Deploy to DO](https://www.deploytodo.com/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/appwrite/todo-with-react/tree/main)
Expand Down
24 changes: 24 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"env": {
"REACT_APP_ENDPOINT": {
"description": "Your Appwrite endpoint",
"value": "APP_ENDPOINT",
"required": true
},
"REACT_APP_PROJECT": {
"description": "Your Appwrite project ID",
"value": "APP_PROJECT_ID",
"required": true
},
"REACT_APP_COLLECTION_ID": {
"description": "Your Appwrite collection ID",
"value": "COLLECTION_ID",
"required": true
}
},
"buildpacks": [
{
"url": "https://github.com/mars/create-react-app-buildpack"
}
]
}

0 comments on commit a5a80a7

Please sign in to comment.