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

rainbow napkin 2024-12-07 20:58:32 +00:00
parent 31f21d046b
commit bf71a80bfe

@ -2,6 +2,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:
## Installation
@ -11,7 +12,7 @@ title: Setting up a fresh install of Canopy over Debian 12 Bookworm
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!
## Revers-Proxy Setup
## Reverse-Proxy Setup
###This will be documented once we start public testing, for now development boxes don't need this.
## Admin Account Setup
@ -19,4 +20,6 @@ title: Setting up a fresh install of Canopy over Debian 12 Bookworm
2. Create a new user account (don't log in yet, if you do log-out so you won't have a stale session hanging around.)
3. Drop into a `mongosh` under the canopy user `mongosh --authenticationDatabase "canopy" -u "canopy"`
4. Switch over to the canopy database `use canopy`
5. Update the user document 'rank' property to 'admin': `db.users.updateOne({user:'test'},{$set: {rank:'admin'}})`
5. Update the user document 'rank' property to 'admin': `db.users.updateOne({user:'test'},{$set: {rank:'admin'}})`
You may now log-in to your spanky-new canopy instance with your fresh admin account. You are ready to start making channels and taking tokes!