Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Configuration

Quentin Guidée edited this page Aug 2, 2022 · 9 revisions

Configuration

First of all, go to https://your.url/config. You'll be prompt to enter some info.

Establish a database

  • host: URL where your database is (eg. localhost, localhost:5432 or my.website.com)
  • database: the name of the database (eg. cloudsh)
  • user: your database username
  • password: your database password

Enable an authentication method

For the moment, cloud.sh uses third party OAuth exclusively. To configure the server, you should choose one of the following methods first. You can add more methods later in the Admin Panel.

GitHub

  • name: what you want to display to the user (eg. GitHub)
  • color: the color to display on the login button
  • client ID: the client ID given by GitHub
  • client secret: the client secret given by GitHub
  • authorize URL: https://github.com/login/oauth/authorize
  • access token URL: https://github.com/login/oauth/access_token
  • redirect URL: http://YOUR_CLIENT_URL/login

Clone this wiki locally