Deploy Frontity with Plesk Node.js extension

Hello,
I’m trying to deploy Frontity with Plesk Node.js extension but doesn’t seem to be working. Any suggestions to help me out are welcome. Thank you.

ok, I managed to get this done by creating an app.js file in the root folder and adding the listen method.

var frontity = require("./build/server").default;
var http = require(‘http’);
var server = http.createServer(frontity);
server.listen(process.env.PORT);

1 Like

Hi @eronneb, that’s awesome! So I guess it’s something similar to cPanel or DreamHost, right?

Exactly.