File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,25 @@ docker pull mcr.microsoft.com/dotnet/sdk:10.0
1414docker run -v "$(pwd)":/work -w /work -it -p 5000:80 mcr.microsoft.com/dotnet/sdk:10.0 bash
1515```
1616
17+ ## Database
18+ ```
19+ # in terminal:
20+ docker volume create rethinkdb_data
21+ docker run --rm -it --name rethinkdb-manual -v rethinkdb_data:/data -p 8080:8080 -p 28015:28015 -p 29015:29015 rethinkdb
22+
23+ # in browser:
24+ http://localhost:8080
25+
26+ # go to Data Explorer and run:
27+ r.dbCreate("live")
28+
29+ r.db("rethinkdb").table("users").insert({id: "openrct2-api-live", password: "<PASSWORD>"}, { conflict: "replace" })
30+
31+ r.grant("openrct2-api-live", {"config": true})
32+
33+ # remember to replace <PASSWORD> with a strong password and update api.config.yml accordingly
34+ ```
35+
1736## Building / Launching
1837```
1938cd src/OpenRCT2.API
You can’t perform that action at this time.
0 commit comments