Follow the instructions in the PostgreSQL installation guide to install and set up PostgreSQL for your system.
After installing PostgreSQL, create a database user and database for Palpo:
Replace 'your_secure_password'
with a strong password. This will create a PostgreSQL user named palpo
and a database named palpo
, with the user as the owner.
Go to the official GitHub releases page:
https://github.com/palpo-im/palpo/releases
Download the latest release suitable for your Linux distribution and architecture. Extract the downloaded archive if necessary.
Copy the example configuration file and rename it:
Edit palpo.toml
to match your environment and database settings. At minimum, you must:
Set server_name
to your desired domain name, for example:
Set the database URL in the [db]
section to match the database, user, and password you created above. For example:
Replace your.domain.com
and your_secure_password
with your actual domain and password.
For more advanced configuration options, see the configuration page.
Start Palpo from the command line:
To run Palpo automatically on system startup, create a systemd service file:
Create /etc/systemd/system/palpo.service
with the following content:
Replace /path/to/palpo
with the actual directory where Palpo is located and set the correct user.
Reload systemd and enable the service:
Palpo will now start automatically on boot.