summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-06-03 19:51:53 +0200
committerRory& <root@rory.gay>2025-06-03 19:52:50 +0200
commit6376fa013cc1b6fb239e59d2438c978527167fd1 (patch)
tree6c6797a8149beea2d6dd93ba8254ac4c13429a5f
parentAdd systemd example (diff)
downloadnodejs-final-assignment-6376fa013cc1b6fb239e59d2438c978527167fd1.tar.xz
Add preparation and build instructions
-rw-r--r--DEPLOY.md16
-rw-r--r--plan.md2
2 files changed, 16 insertions, 2 deletions
diff --git a/DEPLOY.md b/DEPLOY.md

index 302edaa..a427ed7 100644 --- a/DEPLOY.md +++ b/DEPLOY.md
@@ -28,9 +28,23 @@ services.safeNSound = { ## Other Linux distros: +### Preparation + +Make sure you have the following installed: +- Node.js (v22 or later) +- MongoDB + +```shell +git clone --recursive https://cgit.rory.gay/school/nodejs-final-assignment.git/ +cd nodejs-final-assignment +npm i +``` + +### Installation + Please see your service manager: - systemd (Debian, Arch, Fedora, ...): /etc/systemd/system/SafeNSound.service (see [example](https://cgit.rory.gay/school/nodejs-final-assignment.git/tree/doc/systemd.service)) -- sysvinit/openrc/... (Alpine, Gentoo, Devuan, ...): /etc/init.d/SafeNSound +- Other: please refer to your service manager's documentation. ## General setup considerations: - Do not run as root! diff --git a/plan.md b/plan.md
index 3588bf8..cd93469 100644 --- a/plan.md +++ b/plan.md
@@ -7,7 +7,7 @@ - [x] MongoDB CRUD operations and Mongoose modeling (with Joi validation) - [ ] Complete data and input validation (including ObjectId validation) - [x] Middleware functions -- [ ] A detailed deployment step-by-step plan: the application must be deployed on a cloud server and publicly accessible +- [x] A detailed deployment step-by-step plan: the application must be deployed on a cloud server and publicly accessible - [x] REST Client API calls provided for all API endpoints - [x] Comprehensive API documentation