Webserver-Konfiguration #4

Open
opened 5 months ago by Tealk · 6 comments
Tealk commented 5 months ago

Hello,

nice that you have now found to codeberg :D

In the readme, shouldn't there be a step before point 4? That you have to link the webserver to the public folder?

Hello, nice that you have now found to codeberg :D In the readme, shouldn't there be a step before point 4? That you have to link the webserver to the public folder?
Tealk changed title from without node server to Webserver-Konfiguration 5 months ago
Owner

Hi Tealk!

That was a possible solution before. Earlier, I used pure JS to collect the data and redirect the user to the needed page. I decided to change that though, since many people would like to have JS disabled on the websites, which I understand. So, the v2 version uses simple HTML forms. They are lighterweight and in the spirit of Web 1.0, but sadly require a server to run

Hi Tealk! That was a possible solution before. Earlier, I used pure JS to collect the data and redirect the user to the needed page. I decided to change that though, since many people would like to have JS disabled on the websites, which I understand. So, the v2 version uses simple HTML forms. They are lighterweight and in the spirit of Web 1.0, but sadly require a server to run
kytta added the
question
label 5 months ago
Owner

I realized I missed a point: one needs to both host the public/ directory AND to run the server. I'll update the docs to make this clearer

I realized I missed a point: one needs to both host the `public/` directory AND to run the server. I'll update the docs to make this clearer
Poster

I realized I missed a point: one needs to both host the public/ directory AND to run the server. I'll update the docs to make this clearer

yes thats i noticed to late too so that I had to adjust the issue

> I realized I missed a point: one needs to both host the `public/` directory AND to run the server. I'll update the docs to make this clearer yes thats i noticed to late too so that I had to adjust the issue
Poster

Maybe you should change the node command to pm2 too?
pm2 start api/toot.js --watch --ignore-watch="node_modules"

Maybe you should change the node command to pm2 too? `pm2 start api/toot.js --watch --ignore-watch="node_modules"`
Owner

Maybe you should change the node command to pm2 too?
pm2 start api/toot.js --watch --ignore-watch="node_modules"

Wow, I didn't know this existed. Looks sick!

> Maybe you should change the node command to pm2 too? > `pm2 start api/toot.js --watch --ignore-watch="node_modules"` Wow, I didn't know this existed. Looks sick!
Poster

here everything is summarized very nicely https://pm2.keymetrics.io/docs/usage/quick-start/

here everything is summarized very nicely https://pm2.keymetrics.io/docs/usage/quick-start/
Tealk referenced this issue from a commit 5 months ago
kytta added
enhancement
and removed
question
labels 5 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: kytta/toot#4
Loading…
There is no content yet.