Spanish Total.js
English
Documentation For AI agents
Contents

Run in production

Start Pluginable in release mode and keep it safe on a server.

.md GitHub
On this page

npm start runs Pluginable in debug mode, which is meant for development. On a server, use release mode.

Start in release mode

Pass the port and --release:

node index.js 8000 --release

The start banner shows Mode : release.

Listen only on the local address

By default, Pluginable listens on every network address of the server. If a reverse proxy runs on the same server, let Pluginable listen only on 127.0.0.1. Add this line to the file config:

$ip         : 127.0.0.1

Keep it safe

  • Sign in right after the first start and change your credentials.
  • Put a reverse proxy with HTTPS in front of Pluginable, so that passwords and sessions travel encrypted.
  • Allow only the people who need the admin to reach it, for example with a firewall or the access rules of your proxy.
  • Keep databases/memorize_pref.json and the file config private, and back them up together with the database.
  • If you use TMS, always set a security token.

Apply changes to plugins

Restart Pluginable after you add, change or remove a plugin, so that it loads the new files.

Made in Europe