-
Notifications
You must be signed in to change notification settings - Fork 234
MacOS Installation
Ay'yaruq Dotharl edited this page Nov 25, 2017
·
7 revisions
You will need a development environment and at least OS X El Capitan (macOS High Sierra recommended) to build Sapphire. To setup your environment, Homebrew is recommended and this document will assume you're using it. To get started, see the Homebrew documentation, which also includes how to setup XCode Command Line Tools which you'll need for compilation.
brew install boost cmake git mysql zlibgit clone https://github.com/SapphireMordred/Sapphire.git sapphire
cd sapphire
git submodule initmkdir build && cd build
cmake .. -DCMAKE_CXX_COMPILER=/usr/bin/clang++
make -j 4The build will output the binaries into bin/ in the top level folder, along with a subdirectory for config files. You will need the game data files plus a running DB to point the binaries at.
# configure MySQL, skip this if it's already running
mysql.server start
mysql_secure_installation
mysql.server stop
# start it as a service
brew services start mysqlYou can then run the servers as normal processes.
Getting Started
About
Installation
Developing
Actor Control
Scripting
Administration
Debug Commands
GM Commands
Other
PS4 Support
