Update Setting up a fresh install of Canopy over Debian 12 Bookworm
parent
67367bfda5
commit
31f21d046b
|
|
@ -1,6 +1,22 @@
|
|||
---
|
||||
title: Setting up a fresh install of Canopy over Debian 12 Bookworm
|
||||
---
|
||||
#Installing Canopy on Debian 12 Bookworm:
|
||||
|
||||
##
|
||||
## Step-by-step procedure for Setting up a fresh install of Canopy over Debian 12 Bookworm:
|
||||
|
||||
## Installation
|
||||
1. Install pre-reqs `sudo apt install nodejs npm`
|
||||
2. Yoink a copy of canopy `git clone https://gitlab.com/rainbownapkin/canopy.git && cd canopy'
|
||||
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!
|
||||
|
||||
## Revers-Proxy Setup
|
||||
###This will be documented once we start public testing, for now development boxes don't need this.
|
||||
|
||||
## 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.)
|
||||
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'}})`
|
||||
Loading…
Reference in a new issue