runciv is a server for unciv written in pure rust!
At the time of this writing, there is no precompiled server available, you have to compile it from source.
You need to have cargo installed.
The easiest way to retrieve it, is through rustup.
On debian-like systems build-essential is also required.
After installation of cargo, execute:
Install build dependencies:
cargo install cargo-makeBuild the project.
cargo makeThe resulting binary will be in target/release/runciv.
First, create a user and group for the service:
useradd -r -U runciv -s /bin/bashCopy the service file to /etc/systemd/system/ and reload systemd:
cp runciv.service /etc/systemd/system/
systemctl daemon-reloadInstall the runciv binary:
install -o root target/release/runciv /usr/local/bin/runcivCreate a new database & database user:
su - postgres -c "createuser -P runciv"
su - postgres -c "createdb -O runciv runciv"Apply the migrations:
runciv migrate --migration-dir migrations/Copy example.config.toml to /etc/runciv/config.toml and edit the file
to match your desired configuration.
Finally, restart and enable runciv:
systemctl enable runciv
systemctl start runcivIf you'd like to discuss something, use our Discussions :)