Installing on macOS
Installing PostgreSQL
Please refer to the PostgreSQL Installation Guide to install and configure PostgreSQL.
You can install PostgreSQL via Homebrew:
After installation, create a database user and database for Palpo:
Replace 'your_secure_password' with a strong password. This will create a PostgreSQL user and database named palpo, and set the user as the database owner.
Downloading Palpo Distribution
Visit the official GitHub releases page:
https://github.com/palpo-im/palpo/releases
Download the latest macOS version (e.g., palpo-x.y.z-macos.zip) and extract it.
Configuring Palpo
Copy the example configuration file and rename it:
Edit palpo.toml according to your environment and database settings. At minimum, you need to:
-
Set
server_nameto your desired domain, 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 local testing, set server_name to localhost:port, for example localhost:8008. Also configure the well_known section to specify the client connection address:
If using Proxy, make sure to configure the correct client address to ensure external accessibility.
For more advanced configurations, please refer to the Configuration Page.
Running Palpo
Start Palpo from the command line:
Setting Up as a Launchd Service (Auto-start on Boot)
To automatically start Palpo on boot, you can create a launchd service:
-
Create a plist file at
~/Library/LaunchAgents/im.palpo.palpo.plistwith the following content:Replace
/path/to/palpoand/path/towith the actual paths to the Palpo executable and its directory. -
Load the service:
Palpo will now start automatically upon login. {/* 本行由工具自动生成,原文哈希值:74ae6f66a9f43b899d7aa61cf4e2a720 */}