Install Pluginable
Get the code, connect it to PostgreSQL and start Pluginable.
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 pluginable2. Install the dependencies:
npm install3. 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/pluginableReplace user, password, the host, the port and the database name with your own. See Configuration file.
4. Start Pluginable:
npm start5. 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 8080Where your data is saved
- The settings live in the table
cl_configof your database. - The admin account lives in the file
databases/memorize_pref.jsonin the app folder. Keep this file private.