GeneIT/README.md

37 lines
524 B
Markdown
Raw Normal View History

2023-05-24 09:37:02 +00:00
# GeneIT
2023-05-24 11:52:24 +00:00
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
cargo install diesel_cli --no-default-features --features postgres
```
4. Initialize database:
```bash
diesel migation run
```
> 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-05-24 11:52:24 +00:00
> ```