Reading the repo
Reading the repo
How to install on Linux
Agente de IA para compras baseado no Universal Commerce Protocol (UCP) — integrações plugáveis com e-commerces, interface conversacional e suporte multi-canal
Saved setup from 3 h ago
The maintainers included scripts/setup-web-vps.sh. Run it from the cloned folder after reading it.
bash scripts/setup-web-vps.sh
Will it work on my device?
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
The repo uses git submodules, so the clone fetches them too.
git clone --recurse-submodules https://github.com/josehelioaraujo/comprai.git cd comprai
Node.js LTS (no version pinned), .NET SDK
# needs nvm: https://github.com/nvm-sh/nvm nvm install --lts sudo apt install dotnet-sdk-8.0 # Ubuntu 22.04+; other distros: https://learn.microsoft.com/dotnet/core/install/linux
Fill in secrets: NEXTAUTH_SECRET, POSTGRES_PASSWORD, DD_API_KEY, NEW_RELIC_LICENSE_KEY, NEW_RELIC_USER_KEY, ML_CLIENT_SECRET, SHOPIFY_ACCESS_TOKEN, RESEND_API_KEY
cp .env.example .env
Needs: PostgreSQL, Redis, Kafka, RabbitMQ
# needs Docker Engine: https://docs.docker.com/engine/install/ docker compose -f docker-compose.yml up -d
npm ci dotnet restore comprai.sln dotnet build comprai.sln
dotnet test comprai.sln
No reports for Linux yet.
Opens a chat with this manual already filled in, for Linux. It uses your own account; gitmanual sends nothing.