GeneIT/README.md

53 lines
782 B
Markdown
Raw Normal View History

2023-05-24 09:37:02 +00:00
# GeneIT
2023-05-24 11:52:24 +00:00
## 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
2024-05-14 17:34:35 +00:00
sudo apt install libpq5 libpq-dev pkg-config libssl-dev cmake
2023-05-24 11:52:24 +00:00
cargo install diesel_cli --no-default-features --features postgres
```
4. Initialize database:
```bash
2023-07-04 16:47:37 +00:00
diesel migration run
2023-05-24 11:52:24 +00:00
```
> Note: You can access the database directly using this command:
>
> ```bash
2023-05-24 14:19:46 +00:00
> PGPASSWORD=pass psql -h localhost -p 5432 -U user -d geneit
2023-06-02 07:48:51 +00:00
> ```
## 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
```
2023-12-12 18:06:22 +00:00
Password: `Password1!`