blob: c2e2c9f818631b194f8c368626f13000cc7b4772 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# TNTVillage Search Tool
## Instructions
First, make sure to clone everything correctly:
```
git clone https://github.com/BiRabittoh/tnt-search
cd tnt-search
git submodule init
git submodule update
```
### Bare metal
```
python3 -m venv venv
source venv\bin\activate
pip install --upgrade pip
pip install -r requirements.txt
waitress-serve --host 127.0.0.1 --port 5000 main:app
```
### Docker
Either use Docker CLI:
```
docker build -t tnt-search .
docker run -d --name tnt-search --restart unless-stopped -p 5000:5000 tnt-search
```
Or, better, `docker-compose`:
```
docker-compose up -d
```
|