- Required
- Windows 10 Pro
- 64-bit
- GitHub Desktop
- Docker for Windows
- ArangoDB
https://download.arangodb.com/arangodb33/Windows7/x86_64/ArangoDB3-3.3.7-1_win64.exe
- update
- Open "C:\Program Files\ArangoDB3 3.3.7\etc\arangodb3\arangod.conf"
- endpoint = tcp://0.0.0.0:8529
- restart arangodb service
- "windows key + R" > services.msc
- Open "C:\Program Files\ArangoDB3 3.3.7\etc\arangodb3\arangod.conf"
- update
- Wsl 2
- Windows 10 Pro
- Optional
- Postman
- Register in Environment Variables paths
- Apps
- Ngrok
- Traefik
- Steps
- From start menu, search and select "edit the system environment variables"
- Click "Environment Variables" button
- In the System Variables section, select variable "Path", then Click Edit
- In "Edit environment variable" window, click "New"
- Specify the Directory path of your .exe or batch file
- Click OK on each open window and restart the command prompt.
- Apps
- Firewall
- Windows > Search "Firewall" > "Check Firewall Status"
- "Turn Windows Defender on or off" (left)
- Turn off public and private networks
- Update
- Settings
- Identity
- IP addresses and ports
- .env
- variables.env
- IP addresses and ports
- Avatar
- IP addresses and ports
- .env
- users.db
- Resource (table)
- Cortex Graph database name
- variables.env
- DB_NAME should be distinct from DB_NAME values of other Avatars in the same Server
- variables.env
- IP addresses and ports
- Identity
- Traefik.toml
- Avatar Backend
- Host IP
- Port
- Avatar Backend
- Ngrok.yml
- authtoken from account
- Host IP address and Port
- Settings
- Send Regenerate (Postman)
- Cortex\ReadModel\Graph\In
- Resume Generation
- Send
- Cortex\ReadModel\Graph\In
- Run
- Traefik
- Go to C:\ei8\
- traefik -c traefik.toml
- Go to C:\ei8\
- Ngrok
- Go to C:\ei8\
- ngrok start -config ngrok.yml neurul idp-neurul d23-neurul
- Go to C:\ei8\
- Containers
- Identity
- c:\ei8\idp
- docker-compose -f docker-compose.yml up
- c:\ei8\idp
- Avatar
- C:\ei8\avatars\prod[avatar name]
- docker-compose -f docker-compose.yml up
- C:\ei8\avatars\prod[avatar name]
- d23
- C:\ei8\d23
- docker-compose -f docker-compose.yml up ! Run from Powershell to clear all running containers
- docker rm --force $(docker ps -aq)
- C:\ei8\d23
- Identity
- Traefik
- User Configuration
- Adding a user to an Avatar after registration
- Get SubjectId of registered user from Identity.db
- AspNetUsers table, Id column
- Using d#, create User Neuron in Avatar which will represent the new User
- Open users.db
- Link Subject in Identity Server to User Neuron in Avatar
- Open User table
- Create new User record
- In the NeuronId column, enter the User Neuron Id generated in #2
- In the SubjectId column, enter the User Neuron Id obtained from #1
- Add RegionPermits to User
- Open RegionPermit table
- Create New Record
- In the UserNeuronId column, enter the User Neuron Id from #2
- In the RegionNeuronId column, enter the Neuron Id of the Region
- In the WriteLevel column, enter:
- "0" - no write access
- "1" - write to neurons created by the user only
- "2" - write to neurons created by all users
- In the CanRead column, enter:
- "0" - no read access
- "1" - read neurons
- Link Subject in Identity Server to User Neuron in Avatar
- Start > "Manage Computer Certificates" (also available in the control panel)
- Right-click on "Trusted Root Certification Authoritites" > "All tasks" > "Import"
- Browse to the crt file and then keep pressing "Next" to complete the wizard
- Restart Docker for Windows
- Stop Cortex.Graph.In (Cortex.In also if necessary) in Kitematic.
- Replace Avatar event database in C:\ei8\db with backup.
- Resume Cortex.Graph.In in Kitematic.
- Regenerate Avatar in Cortex.Graph.In using Postman.
- Bad Gateway
- Ensure traefik.toml is
- loaded by traefik
- configured correctly
- Ensure traefik.toml is
- Container not starting
- docker restart ei8_cortex.graph.in.api_1_9f137d071158