This repository has been archived by the owner on Dec 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 222
Quick Start Guide
UynGH edited this page Nov 10, 2020
·
11 revisions
Windows 10
- Install Git for Windows, accept defaults, change default text editor if desired.
- Install Visual Studio 2019, check Desktop development with C++.
- Install MariaDB, use defaults, set a root password.
- Install Python 3, check to add to PATH.
- Use a Git client to clone from URL https://github.com/project-topaz/topaz.git
- Open in Explorer, copy all files in
topaz/conf/default/
intotopaz/conf/
. - Edit the new
login.conf
,map.conf
, andsearch_server.conf
files intopaz/conf/
and changemysql_password
to the password set during MariaDB setup. - Open the tools folder, shift+right-click, open Powershell.
- Type:
py -3 -m pip install -r requirements.txt
py -3 dbtool.py
- Follow the on-screen instructions.
- Open the topaz root folder in VS2019.
- Build the solution in VS2019.
- Check the CMake Build Guide if you're unsure about the build.
- Open the topaz folder in Explorer.
- Shift+right-click, open Powershell.
- Type:
git stash
git pull
git stash pop
cd tools
py -3 dbtool.py update
- Build the solution in VS2019.
Linux
- Use your package manager to install the following packages or their equivalent (Debian packages listed):
g++-8 cmake mariadb-server libmariadbclient-dev libluajit-5.1-dev libzmq3-dev libssl-dev python3 python3-pip git
- Type:
sudo mysql_secure_installation
- Follow the instructions for setting up the DB.
- Type (changing 'password' to your password of choice):
sudo mysql -u root -p -e "CREATE USER 'topaz'@'localhost' IDENTIFIED BY 'password';CREATE DATABASE tpzdb;USE tpzdb;GRANT ALL PRIVILEGES ON tpzdb.* TO 'topaz'@'localhost';"
git clone --recursive https://github.com/project-topaz/topaz.git
cd topaz
cp conf/default/* conf/
- Edit the new
login.conf
,map.conf
, andsearch_server.conf
files intopaz/conf/
and changemysql_login
andmysql_password
to the login/password set during MariaDB setup. - In the
topaz
dir, type:
mkdir build
cd build
cmake ..
make -j $(nproc)
cd ../tools
pip3 install -r requirements.txt
python3 dbtool.py
- Select 'Reset DB' and follow the instructions to "reset" the database.
- Open the
topaz
dir in a terminal. - Type:
git stash
git pull
git stash pop
cd build
cmake ..
make -j $(nproc)
cd ../tools
python3 dbtool.py update
- General
- Client Setup
- Server Setup + Maintenance
- Server Administration
- Development
- Project Meta
- Server List
- Resources