create-wordjs 1.2.3 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +8 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -324,6 +324,14 @@ async function main() {
|
|
|
324
324
|
console.log(' • Stop the server: press Ctrl+C in this window.');
|
|
325
325
|
console.log(` • Start it later: cd ${opts.dir} && npm run start:mono`);
|
|
326
326
|
console.log(' (a fresh install URL is printed on every start until setup is finished)');
|
|
327
|
+
if (process.platform === 'linux') {
|
|
328
|
+
console.log('');
|
|
329
|
+
console.log(' • RECEIVING email from the internet? WordJS listens on port 25 (the MX port).');
|
|
330
|
+
console.log(' Binding a port below 1024 as a non-root user needs a one-time grant — run once:');
|
|
331
|
+
console.log(' sudo setcap cap_net_bind_service=+ep "$(readlink -f "$(command -v node)")"');
|
|
332
|
+
console.log(' Without it, inbound falls back to port 2525 (sending + local mail still work);');
|
|
333
|
+
console.log(' the admin Email → Server Admin screen shows the live listener status either way.');
|
|
334
|
+
}
|
|
327
335
|
console.log(line + '\n');
|
|
328
336
|
|
|
329
337
|
const child = spawn('npm run start:mono', {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-wordjs",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Create a WordJS site with one command — the self-hosted CMS where third-party plugins run in an OS-isolated process with per-capability permission grants. SSR/SEO out of the box, SQLite by default, no PHP.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Jaime Martinez (https://github.com/jaimemartinez)",
|