Some checks failed
continuous-integration/drone/push Build is failing
GeneIT
Setup dev env
-
Install prerequisites:
- docker
- docker-compose
- rust
-
Start services:
cd geneit_backend
mkdir -p storage/{rustfs,db,redis-data,redis-conf}
docker compose up
- Install Diesel CLI:
sudo apt install libpq5 libpq-dev pkg-config libssl-dev cmake
cargo install diesel_cli --no-default-features --features postgres
- Initialize database manually (or it will be done automatically when the backend is started):
diesel migration run
Note: You can access the database directly using this command:
PGPASSWORD=pass psql -h localhost -p 5432 -U user -d geneit
Useful links:
- Mailcatcher: http://localhost:1080/
- Rustfs console: http://localhost:9090 (credentials:
topsecret/topsecret) - Dex OpenID configuration: http://127.0.0.1:9001/dex/.well-known/openid-configuration
Description