Skip to content

Commit

Permalink
Use neon.tech Serverless Postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorwolf committed Feb 4, 2024
1 parent cca5dfa commit 877155d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,28 @@ env_variables:
This file is included in _app.yaml_.
## Use neon.tech Serverless Postgres
You can use the [neon.tech Serverless Postgres](https://neon.tech/) to run the beershop. Get the credentials after you've created a project and database. The connection information is stored in the _.cdsrc-private.json_ file:
```JSON
"requires": {
"[pg]": {
"db": {
"kind": "postgres",
"credentials": {
"host": "yourHost",
"port": 5432,
"user": "yourUser",
"password": "yourPassword",
"database": "beershop",
"ssl": true
}
}
}
}
```

## Run on HEROKU

Install [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli) for your respective OS. Then follow the instruction provided in the [Deploying with Git](https://devcenter.heroku.com/articles/git) guide to deploy from this repository.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"impl": "./heroku/mock-auth-handler.js"
},
"[kyma]": {
"kind": "basic"
"kind": "mocked"
},
"[production]": {
"kind": "xsuaa"
Expand Down

0 comments on commit 877155d

Please sign in to comment.