We recommend you use Laudspeaker cloud, you can see a simple example in this tutorial setting-up-first-journey-with-the-react-sdk
You can also self host by deploying with docker
docker compose updepending on your version of docker
mongosh --eval "rs.initiate()"
Run backend and front end:
npm run start
To stop running system services (Linux):
sudo systemctl stop postgresql.service
sudo systemctl stop mongod
To remove compose containers:
docker-compose down --volumes
.env file to both
We have provided examples which you can use:
mv env-server-example packages/server/.env and
mv env-client-example packages/client/.env
Make sure you fill in the fields in the env files before running.