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

rainbow napkin 2025-05-21 12:18:35 +00:00
parent 65591e81ba
commit 0035a97676

@ -20,6 +20,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: ## 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). Before installing make sure you have already prepped your [database](mongodb-debian).
## Installation ## Installation
@ -29,6 +30,7 @@ Before installing make sure you have already prepped your [database](mongodb-deb
4. Copy a new config file off of the included reference `cp config.example.json config.json` 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! 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) 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)
7. The server is now installed, and ready for basic development/testing use! See the [Admin Account Setup](#admin-account-setup) section for account setup.
## Canopy as a System Service Setup ## 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 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