all repos — tnt-search @ 28121edfa99c6d670d9bc55bcb7b064103137670

A search tool for TNTVillage's dump.

README.md (view raw)

 1# TNTVillage Search Tool
 2
 3## Instructions
 4
 5First, make sure to clone everything correctly:
 6```
 7git clone https://github.com/BiRabittoh/tnt-search
 8cd tnt-search
 9git submodule init
10git submodule update
11```
12
13### Bare metal
14```
15python3 -m venv venv
16source venv\bin\activate
17pip install --upgrade pip
18pip install -r requirements.txt
19```
20
21* Debug:
22```
23flask --app main run --port 1111 --debug
24```
25* Production: 
26```
27pip install waitress
28waitress-serve --host 127.0.0.1 --port 1111 main:app
29```
30
31### Docker
32Simply run:
33```
34docker-compose up --detach --build
35```