Update Setting up a fresh install of Canopy over Debian 12 Bookworm

rainbow napkin 2025-05-21 02:59:27 +00:00
parent a2fb3b3256
commit 65591e81ba

@ -19,6 +19,7 @@ title: Setting up a fresh install of Canopy over Debian 12 Bookworm
## Step-by-step procedure for Setting up a fresh install of Canopy over Debian 12 Bookworm:
Before installing make sure you have already prepped your [database](mongodb-debian).
## Installation
@ -27,6 +28,7 @@ Before installing make sure you have already prepped your [database](mongodb-deb
3. Install dependencies from NPM `npm install`
4. Copy a new config file off of the included reference `cp config.example.json config.json`
5. Fill out the newly copied config with a text editor, don't forget to set your DB password or make up a sessionSecret!
6. Run `npm run start`, or `npm run start:dev` if you want it to auto-restart on file save (requires nodemon installed via npm)
## Canopy as a System Service Setup
1. Create a user named 'canopy' and move the production canopy folder to it's home dir, making sure to give it ownership and exclusive permissions