all repos — tnt-search @ 37dc1e94092a8d61633911f1f197cd695d4c2459

A search tool for TNTVillage's dump.

README.md (view raw)

 1# TNTVillage Search Tool
 2
 3## Instructions
 4
 5### Bare metal
 6```
 7python -m venv venv
 8source venv\bin\activate
 9pip install --upgrade pip
10pip install -r requirements.txt
11waitress-serve --host 127.0.0.1 --port 5000 main:app
12```
13
14### Docker
15Build image:
16```
17docker build -t tnt-search .
18```
19
20Then, either use Docker CLI:
21```
22docker run -d --name tnt-search --restart unless-stopped -p 5000:5000 tnt-search
23```
24
25Or, better, docker-compose (already set up for reverse-proxy only):
26```
27docker-compose up -d
28```