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
19waitress-serve --host 127.0.0.1 --port 5000 main:app
20```
21
22### Docker
23Build image:
24```
25docker build -t tnt-search .
26```
27
28Then, either use Docker CLI:
29```
30docker run -d --name tnt-search --restart unless-stopped -p 5000:5000 tnt-search
31```
32
33Or, better, docker-compose (already set up for reverse-proxy only):
34```
35docker-compose up -d
36```