Surya Paolo f7bcb0c361 modif
2023-12-07 11:28:01 +01:00
2020-03-21 10:28:26 +01:00
2021-01-18 00:48:17 +01:00
2022-09-02 02:25:38 +02:00
2023-11-26 01:38:02 +01:00
2020-03-21 10:28:26 +01:00
2021-04-30 01:31:12 +02:00
2022-08-01 15:49:27 +02:00
2023-12-07 11:28:01 +01:00
2023-08-27 23:55:31 +02:00
ds
2023-11-27 11:16:09 +01:00
2023-12-07 11:28:01 +01:00
2023-12-07 11:28:01 +01:00
2023-12-07 11:27:30 +01:00
2023-11-30 01:49:51 +01:00
2021-01-18 00:48:17 +01:00
2021-01-18 00:48:17 +01:00
2023-12-07 11:28:01 +01:00
2023-12-07 11:28:01 +01:00
2023-02-15 21:40:19 +01:00
2023-08-27 23:55:31 +02:00
2023-10-21 15:27:53 +02:00
2020-03-21 10:28:26 +01:00
2023-12-02 15:23:35 +01:00
2023-11-30 19:50:12 +01:00
2023-12-02 15:23:35 +01:00
2023-11-03 12:49:10 +01:00
2022-11-17 08:09:48 +01:00
2023-02-15 21:40:19 +01:00

Freeplanet_serverside

  • Node JS (ver. 16.14.0 or up)

Install the dependencies

yarn

Start the app in development mode (hot-code reloading, error reporting, etc.)

node src/server/server.js

Creating the ambient test

Create your .env.test file copying from .env.development

cp .env.development .env.test

And modifying the file with your configuration

Certificates

Once you have gone through the process of getting your Lets Encrypt certificates you will have 4 certificates:

cert.pem
chain.pem
fullchain.pem
privkey.pem

You will need to download the root certificate (root.pem) and an intermediate certificate (chain.pem) from Lets Encrypt https://letsencrypt.org/certificates/

See this article: https://www.psclistens.com/insight/blog/enabling-a-nodejs-ssl-webserver-using-let-s-encrypt-pem-certificates/

and this, for the client: https://smallstep.com/hello-mtls/doc/combined/nodejs/axios

To see if all the certificates are OK, see this page check and enter the correct host and port: https://decoder.link/sslchecker

For example: https://decoder.link/sslchecker/test.freeplanet.app/3001

Build the ambient test

./deploynodejs_on_test.js

Creating the ambient Production

Create your .env.production file copying from .env.development

cp .env.development .env.production

And modifying the file with your configuration

Build the production

./deploynodejs_on_production.js
Description
No description provided
Readme 120 MiB
Languages
JavaScript 98.1%
Pug 1.3%
Shell 0.3%
SCSS 0.2%
CSS 0.1%