Skip to content

Commit

Permalink
Update developer quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
jhmejia committed Apr 19, 2024
1 parent 1c1bee0 commit 94b8e44
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,22 @@ sudo journalctl -u classifai
- The third command will show the logs of the classifai service.


## Run the Flask server without service

```bash
# from classifAI-engine/
sudo systemctl stop classifai # stop the service
source PATH_TO_VENV/bin/activate # try venv-3.10
python3 src/app.py
```

## Run the GEMMA server without service

```bash
# from gemma-classification-1
sudo systemctl stop gemma # stop the service
source PATH_TO_VENV/bin/activate # try .venv
# do other installation steps if needed (see gemma README.md)
python3 src/app.py
```

0 comments on commit 94b8e44

Please sign in to comment.