devel: update bootstrap guide
This commit is contained in:
48
README.md
48
README.md
@@ -69,25 +69,7 @@ kubectl --context oceanbox -n default get pods
|
|||||||
Required helm manifests are hosted in a separate repository: <https://gitlab.com/oceanbox/manifests>.
|
Required helm manifests are hosted in a separate repository: <https://gitlab.com/oceanbox/manifests>.
|
||||||
Clone it into a directory _in the same parent directory as this repository._
|
Clone it into a directory _in the same parent directory as this repository._
|
||||||
|
|
||||||
The Bitnami respository must also be added to helm:
|
You'll have to run `helm dependency update` in the atlantis directory within the manifest repo to download the charts.
|
||||||
|
|
||||||
```shell
|
|
||||||
helm repo add bitnami https://charts.bitnami.com/bitnami
|
|
||||||
```
|
|
||||||
|
|
||||||
### DNS
|
|
||||||
|
|
||||||
Some DNS masking is required. Add the following to your NixOS configuration:
|
|
||||||
|
|
||||||
```nix
|
|
||||||
services.dnsmasq = {
|
|
||||||
enable = true;
|
|
||||||
settings.address = [
|
|
||||||
"/.local/127.0.0.1"
|
|
||||||
"/.local.oceanbox.io/127.0.0.1"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
```
|
|
||||||
|
|
||||||
### NuGet
|
### NuGet
|
||||||
|
|
||||||
@@ -102,14 +84,30 @@ To retrieve packages from the private Oceanbox nuget registry, configure it with
|
|||||||
</packageSources>
|
</packageSources>
|
||||||
<packageSourceCredentials>
|
<packageSourceCredentials>
|
||||||
<oceanbox>
|
<oceanbox>
|
||||||
<add key="Username" value="oceanbox-nuget" />
|
<add key="Username" value="<Your-GitLab-Username>" />
|
||||||
<add key="ClearTextPassword" value="<...>" />
|
<add key="ClearTextPassword" value="<Your-GitLab-PAT>" />
|
||||||
</oceanbox>
|
</oceanbox>
|
||||||
</packageSourceCredentials>
|
</packageSourceCredentials>
|
||||||
|
<packageSourceMapping>
|
||||||
|
<packageSource key="nuget.org">
|
||||||
|
<package pattern="*" />
|
||||||
|
</packageSource>
|
||||||
|
<packageSource key="oceanbox">
|
||||||
|
<package pattern="Oceanbox.*" />
|
||||||
|
<package pattern="ProjNet.FSharp" />
|
||||||
|
<package pattern="Drifters.Api" />
|
||||||
|
<package pattern="Fable.Lit" />
|
||||||
|
<package pattern="Fable.Lit.*" />
|
||||||
|
<package pattern="Fable.SignalR" />
|
||||||
|
<package pattern="Fable.SignalR.*" />
|
||||||
|
<package pattern="Fable.OpenLayers" />
|
||||||
|
<package pattern="Matplotlib.*" />
|
||||||
|
</packageSource>
|
||||||
|
</packageSourceMapping>
|
||||||
</configuration>
|
</configuration>
|
||||||
```
|
```
|
||||||
|
|
||||||
Substitute `<...>` for the corresponding secret.
|
Substitute with your own gitlab username and PAT in the credentials.
|
||||||
|
|
||||||
Now, we should be able to `restore`:
|
Now, we should be able to `restore`:
|
||||||
|
|
||||||
@@ -168,7 +166,7 @@ You should now be able to access the Atlantis client (with HMR) on <atlantis.loc
|
|||||||
### Trust Root Certificate
|
### Trust Root Certificate
|
||||||
|
|
||||||
> [!note]
|
> [!note]
|
||||||
> You'll need to run `dotnet run bundle` in `src/Atlantis` to generate the `/certs` directory
|
> You'll need to run `just run-client` in `src/Atlantis` to generate the certificates in `~/.vite-plugin-mkcert/certs`
|
||||||
|
|
||||||
In order for your browser to allow you to access the web application, you must add the root certificate generated by `mkcert` to the list of trusted authorities in your browser:
|
In order for your browser to allow you to access the web application, you must add the root certificate generated by `mkcert` to the list of trusted authorities in your browser:
|
||||||
|
|
||||||
@@ -179,9 +177,9 @@ In order for your browser to allow you to access the web application, you must a
|
|||||||
|
|
||||||
### Add `user` to OpenFGA
|
### Add `user` to OpenFGA
|
||||||
|
|
||||||
Ask [sales](moritz.jorg@oceanbox.io) to add your `azure-ad-user` to OpenFGA.
|
Ask [sales](support@oceanbox.io) to add your `azure-ad-user` to OpenFGA.
|
||||||
|
|
||||||
### CORS for Sorcerer
|
### CORS for Sorcerer
|
||||||
|
|
||||||
Add the `url` of your instance to the CORS list of Sorcerer
|
Add the `url` of your instance to the CORS list of Sorcerer
|
||||||
[here](https://gitlab.com/oceanbox/manifests/-/blob/main/values/sorcerer/kustomize/prod/appsettings.json?ref_type=heads#L52).
|
[here](https://gitlab.com/oceanbox/manifests/-/blob/main/values/sorcerer/kustomize/prod/appsettings.json?ref_type=heads#L52).
|
||||||
Reference in New Issue
Block a user