Repository files navigation
Required
Windows 10 Pro
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
Wsl 2
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.
Firewall
Windows > Search "Firewall" > "Check Firewall Status"
"Turn Windows Defender on or off" (left)
Turn off public and private networks
Update
Settings
Identity
Avatar
IP addresses and ports
Cortex Graph database name
variables.env
DB_NAME should be distinct from DB_NAME values of other Avatars in the same Server
Traefik.toml
Ngrok.yml
authtoken from account
Host IP address and Port
Send Regenerate (Postman)
Cortex\ReadModel\Graph\In
Run
Traefik
Ngrok
Go to C:\ei8\
ngrok start -config ngrok.yml neurul idp-neurul d23-neurul
Containers
Identity
c:\ei8\idp
docker-compose -f docker-compose.yml up
Avatar
C:\ei8\avatars\prod[avatar name]
docker-compose -f docker-compose.yml up
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)
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
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
Container not starting
docker restart ei8_cortex.graph.in.api_1_9f137d071158
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.