Environment Setup
-
Clone the repository
git clone ssh://git@codeberg.org/borisnl/Convinator.git convinator && \ cd convinator -
Install dependencies using pnpm
pnpm install --frozen-lockfile -
Copy the
.env.examplefile to.envand set theCONVI_JWT_SECRETto a random stringcp .env.example .env && \ sed -i "s/^CONVI_JWT_SECRET=.*$/CONVI_JWT_SECRET=$(openssl rand -hex 32)/g" .env -
Start the development containers:
docker compose up -d -
Setup garage (local S3 service). This command should also update your
.envfile with the generated secrets../scripts/setup-garage.sh -
Run the backend using cargo
cargo run -
Run the frontend (in a new terminal)
cd packages/convi-web && pnpm start
You should now be able to reach the frontend at localhost:4200 and start making changes!