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

rainbow napkin 2024-12-08 08:19:31 +00:00
parent 99a9b6d416
commit 45000c7476

@ -8,6 +8,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
@ -33,6 +34,6 @@ Before installing make sure you have already prepped your [database](mongodb-deb
3. 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. 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.)
4. Drop into a `mongosh` under the canopy user `mongosh --authenticationDatabase "canopy" -u "canopy"` 4. Drop into a `mongosh` under the canopy user `mongosh --authenticationDatabase "canopy" -u "canopy"`
5. Switch over to the canopy database `use canopy` 5. Switch over to the canopy database `use canopy`
6. Update the user document 'rank' property to 'admin': `db.users.updateOne({user:'test'},{$set: {rank:'admin'}})` 6. Update the user document 'rank' property to 'admin': `db.users.updateOne({user:'admin'},{$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! 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!