Server Update Steps

Revision as of 20:01, 24 August 2024 by Orth (talk | contribs)

NWSync Server Setup

  • Push all changes to https://github.com/layonara/nwn-haks Note: 64bit branch
  • ssh to nwsync-ssl.layonara.com
  • cd /home/orth/layo-haks && git pull
  • cp layonara.tlk /layonara/nwn/userdir/tlk
  • Run layonara_nwn hak --yes
  • Run sudo /home/orth/.nimble/bin/nwn_nwsync_write --description="The World of Layonara" /var/www/html-ssl /layonara/nwn/userdir/modules/Layonara_6-00.mod Note: You don't need to upload a new module each time, only if the tlk name changes or the haks used/order changed
  • scp l64*.hak orth@116.203.70.169:/layonara/nwn/userdir/hak/
  • scp layonara.tlk orth@116.203.70.169:/layonara/nwn/userdir/tlk/

EE64 Server Setup

  • Push all changes to https://github.com/layonara/nwn-module Note: ee branch
  • ssh to ee64.layonara.com
  • cd /home/orth/nwn-module && git pull
  • nasher pack core --clean Note: You may need to update the nwserver version first
  • mv *.mod /layonara/nwn/userdir/modules/
  • cd /layonara/nwn/nwnx && git pull
  • Rebuild nwnx in /layonara/nwn/nwnx with ./Scripts/buildnwnx.sh -j4
  • Run /layonara/nwn/mod-disable.sh
  • Run /layonara/nwn/mod-stop.sh
  • Download latest nwserver to /layonara/nwn and unzip
  • Edit mod-start.sh and change the module version
  • Remove any temp overrides added to /layonara/nwn/userdir/development
  • Run /layonara/nwn/mod-enable.sh
  • Reboot if desired