Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Sirsimon04/feat/285 deploy server (#286)
Browse files Browse the repository at this point in the history
* feat(server): 285 add deployment

* docs(server): 285 update readme of server
  • Loading branch information
SirSimon04 authored Jun 17, 2024
1 parent e7ea3c1 commit d0bb034
Show file tree
Hide file tree
Showing 10 changed files with 7,558 additions and 88 deletions.
14 changes: 14 additions & 0 deletions server/.cdsrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
{
"requires": {
"[production]": {
"auth": {
"impl": "srv/auth-service/custom-auth.js"
}
},
"auth": {
"impl": "srv/auth-service/custom-auth.ts"
},
"db": {
"kind": "sqlite",
"credentials": {
"database": ":memory:"
}
}
},
"features": {
"in_memory_db": true
}
}
9 changes: 9 additions & 0 deletions server/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
# Getting Started
Look into the [Onboarding in the Wiki](https://github.com/SE-TINF22B2/G1-CashCompass/wiki/Onboarding-Steps) for getting started and the folder structures.

## Deployment

```console
npm run build
mbt build -t gen --mtar mta.tar
cf deploy gen/mta.tar
```

Loading

0 comments on commit d0bb034

Please sign in to comment.