37 lines
733 B
Markdown
37 lines
733 B
Markdown
# Introduction
|
|
This is yet another attempt to create the ultimate management tool
|
|
This time, the development will be done in Python exclusively,
|
|
using [FastHTML](https://www.fastht.ml/) to serve the front end
|
|
|
|
# To start
|
|
```commandline
|
|
cd src
|
|
python main.py
|
|
```
|
|
|
|
# Using Docker
|
|
1. **Build and start the services**:
|
|
```shell
|
|
docker-compose up -d
|
|
```
|
|
The application will be accessible on port 8001 (if the docker compose file was not changed !).
|
|
|
|
2. **Initialize the Mistral model** (first run):
|
|
```shell
|
|
docker-compose exec ollama ollama pull mistral:7b-instruct
|
|
```
|
|
|
|
1. **Check logs**:
|
|
```shell
|
|
docker-compose logs -f
|
|
```
|
|
|
|
1. **Stop the services**:
|
|
```shell
|
|
docker-compose down
|
|
```
|
|
|
|
1. **Rebuild**:
|
|
```shell
|
|
docker-compose build
|
|
``` |