Update Setting up a fresh install of Canopy over Debian 12 Bookworm
parent
bf71a80bfe
commit
295fe57816
|
|
@ -3,6 +3,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:
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
@ -16,10 +17,11 @@ title: Setting up a fresh install of Canopy over Debian 12 Bookworm
|
||||||
###This will be documented once we start public testing, for now development boxes don't need this.
|
###This will be documented once we start public testing, for now development boxes don't need this.
|
||||||
|
|
||||||
## Admin Account Setup
|
## Admin Account Setup
|
||||||
1. Navigate to your servers ip/domain name in your web-browser. (including port if it's set to non-standard w/o a reverse-proxy in-front of it.)
|
1. Start-up canopy `npm start run`
|
||||||
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.)
|
2. Navigate to your servers ip/domain name in your web-browser. (including port if it's set to non-standard w/o a reverse-proxy in-front of it.)
|
||||||
3. Drop into a `mongosh` under the canopy user `mongosh --authenticationDatabase "canopy" -u "canopy"`
|
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. Switch over to the canopy database `use canopy`
|
4. Drop into a `mongosh` under the canopy user `mongosh --authenticationDatabase "canopy" -u "canopy"`
|
||||||
5. Update the user document 'rank' property to 'admin': `db.users.updateOne({user:'test'},{$set: {rank:'admin'}})`
|
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'}})`
|
||||||
|
|
||||||
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!
|
||||||
Loading…
Reference in a new issue