Spanish Total.js
English
Documentation For AI agents
Contents

Install Pluginable

Get the code, connect it to PostgreSQL and start Pluginable.

.md GitHub
On this page

You need Node.js with npm, Git, and a PostgreSQL server with an empty database for Pluginable.

Install and start

1. Get the code and open its folder:

git clone https://github.com/totaljs/pluginable.git
cd pluginable

2. Install the dependencies:

npm install

3. Open the file config in the app folder and set database to the connection string of your PostgreSQL database. For example:

$api        : /admin/
database    : postgresql://user:password@localhost:5432/pluginable

Replace user, password, the host, the port and the database name with your own. See Configuration file.

4. Start Pluginable:

npm start

5. Open http://127.0.0.1:8000/admin/ in your browser. See First sign-in.

On the first start, Pluginable creates the table cl_config in the database and fills it with the default settings. You do not need to run any SQL yourself.

Pluginable keeps running until you stop it with Ctrl+C in the terminal.

Use another port

npm start uses port 8000. To use another port, start Pluginable with Node.js and pass the port:

node index.js 8080

Where your data is saved

  • The settings live in the table cl_config of your database.
  • The admin account lives in the file databases/memorize_pref.json in the app folder. Keep this file private.
Made in Europe