Pierre HUBERT
35d7bd493e
All checks were successful
continuous-integration/drone/push Build is passing
55 lines
789 B
Markdown
55 lines
789 B
Markdown
# GeneIT
|
|
|
|
WIP project
|
|
|
|
## Setup dev env
|
|
1. Install prerequisites:
|
|
1. docker
|
|
2. docker-compose
|
|
3. rust
|
|
|
|
|
|
2. Start services:
|
|
```bash
|
|
cd geneit_backend
|
|
docker-compose up
|
|
```
|
|
|
|
|
|
3. Install Diesel CLI:
|
|
|
|
```bash
|
|
sudo apt install libpq5 libpq-dev pkg-config libssl-dev
|
|
cargo install diesel_cli --no-default-features --features postgres
|
|
```
|
|
|
|
|
|
4. Initialize database:
|
|
|
|
```bash
|
|
diesel migration run
|
|
```
|
|
|
|
> Note: You can access the database directly using this command:
|
|
>
|
|
> ```bash
|
|
> PGPASSWORD=pass psql -h localhost -p 5432 -U user -d geneit
|
|
> ```
|
|
|
|
## Test OIDC credentials
|
|
Emails:
|
|
|
|
```
|
|
harley@qlik.example
|
|
barb@qlik.example
|
|
quinn@qlik.example
|
|
sim@qlik.example
|
|
phillie@qlik.example
|
|
peta@qlik.example
|
|
sibylla@qlik.example
|
|
evan@qlik.example
|
|
franklin@qlik.example
|
|
```
|
|
|
|
Password: `Password1!`
|