Currently, the PostgreSQL is deployed on Digital ocean and no configuration is needed for it. The app runs a multi-service. To start run:
# ubuntu
docker compose up web websockets clickhouse redis
# windows
docker-compose up web websockets clickhouse redisOnce the services start, make sure to start the background tasks service which will be responsible for provisioning the docker services. Run:
# ubuntu
docker compose exec web bash
chmod +x run_celery.sh
./run_celery.sh
# windows
docker-compose exec web bash
chmod +x run_celery.sh
./run_celery.shNow that celery is running, make sure to generate an SSH Certificate Key for the Docker Manager nodes which is installed on your VM machines.
docker compose exec web bash
apt install openssh-server
ssh-keygen # Follow the prompts to generate the key pair
ssh-copy-id <username@vm_ip_address>To deploy the front-end app, go client/ and run yarn install. Once the installation finishes, run yarn start. Currently we're using Node versions >=v18.16.1.
To run logger app make sure to install Go version 1.21.0. Navigate to the directory /logger, and run go run main.go.