Last change
on this file since 36315 was 36315, checked in by davidb, 21 months ago |
Utility scripts for starting and stopping the Express-based web server that will ultimately provideBib-Stinky functionality; imprinted of files developed for the Hey You Interact with Me project
|
File size:
624 bytes
|
Rev | Line | |
---|
[36315] | 1 |
|
---|
| 2 |
|
---|
| 3 | Install
|
---|
| 4 | npm install
|
---|
| 5 |
|
---|
| 6 | Run http server locally on port 3000:
|
---|
| 7 |
|
---|
| 8 | node ./express-web-server.js
|
---|
| 9 |
|
---|
| 10 |
|
---|
| 11 | Adding in an https certificate:
|
---|
| 12 |
|
---|
| 13 | sudo certbot --apache --expand -d bib-stinky.so-we-must-think.space,bibstinky.so-we-must-think.space,bib-stinky.sowemustthink.space,bibstinky.sowemustthink.space
|
---|
| 14 |
|
---|
| 15 | Looked to use domain expand feature of _certbot_
|
---|
| 16 |
|
---|
| 17 | Was thinking it would update the existing .pem files for the main/existing domain,
|
---|
| 18 | However, it actually created new .pem files with the new subdomain (which wasn't expected)
|
---|
| 19 | using the subdomain of the first one mentioned, and updating the bibstinky.conf file to include it
|
---|
| 20 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.