-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Jacob Epstein edited this page May 11, 2024
·
10 revisions
Have docker installed and running.
Make sure that port 5432 and 8080 are unused.
Run Database:
cd server/database
docker-compose up
Run Server:
cargo run -p server
Run Client:
cargo run -p client
cargo build --release
The executables will be located at ./target/release
Running the executables will create a file .abn_settings/Settings.toml
relative to the working directory. This file can be edited to specify the server IP, the port, and the database address.
Run server:
cd ./target/release
./server
Run client:
# new terminal
cd ./target/release
./client
- Edit the
hosts
array in .abn_settings/Settings.toml relative to the working directory from where your server is being ran to set the IP / port. If running via double-clicking in mac finder, the working directory will be~
. In this case, settings would be located at~/.abn_settings/Settings.toml
hosts = [
["127.0.0.1", 8080]
]
- If running with cargo, Server.toml will be in the project root directory
- If running with binaries, Server.toml will be in the same directory as the binaries