Skip to content

Commit

Permalink
dashboard server: split requirements-dev.txt from requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
HolecekM committed Nov 25, 2024
1 parent 97dfa1e commit 697e580
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion dashboard/server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@

## Development

- `pip install -r requirements.txt` to install dependencies
- `pip install -r requirements.txt && pip install -r requirements-dev.txt` to
install dependencies (including development tools)
- `python app.py` to run the development server (also done in Docker)
- `python ws_ssh.py` to run the websocket server
- The reason for 2 servers is a conflict of threading (used for SSH
connections in `ws_ssh.py`) and asyncio (used by Quart in http server)

## Code Quality

Expand Down
2 changes: 2 additions & 0 deletions dashboard/server/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
autopep8
pylint
2 changes: 0 additions & 2 deletions dashboard/server/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ flask-socketio
eventlet
paramiko
ollama
autopep8
pylint

0 comments on commit 697e580

Please sign in to comment.