Follow the instructions in the PostgreSQL installation guide to install and set up PostgreSQL for your system.
You can install PostgreSQL on macOS using Homebrew:
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 macOS release (e.g., palpo-x.y.z-macos.zip). Extract the downloaded archive.
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, you can create a launchd service:
Create a plist file at ~/Library/LaunchAgents/im.palpo.palpo.plist with the following content:
Replace /path/to/palpo and /path/to with the actual path to your Palpo binary and its directory.
Load the service:
Palpo will now start automatically on login.