First release!
mudclub-server
This is an attempt to create an automated installer for MudClub. It relies on FPM to define the service contents and requirements.
Pre-requisites
- Ruby (> v3.1.0)
- Rubygems (> v3.2.0)
- PostgreSQL (> v13.0)
- Nginx (> v1.18)
- Nodejs (> v16.0)
Installation Process
- Prepares the target system
- Installs application to /srv/rails/mudclub.
- Sets up default configuration parameters in /etc/mudclub
- Creates a dedicated user (mudclub) to run the service.
- Prepares PostgreSQL server to run with mudclub.
- Defines the corresponding nginx hook,
- Pulls latest code from MudClub repository.
- Attempts to create a system service using pleaserun
Note: when uninstalling, make sure you remove the service definitions created by the package installer - only tested to work for Systemd.
P.S. Only tested for Debian 11/12 with systemd - appreciate any feedback on other systems.