KotoLLC/peacenik

Install script

Closed this issue · 0 comments

Users can create a hub on the message hub page (in user profile)...

Screen Shot 2021-03-07 at 21 15 46

We need a bash script (for Ubuntu 20.04) to make this super easy. User will pipe the script from Github to bash.

Prompts will be as follows:

if not ubuntu 20.04
"This script is for Ubuntu 20.04 only" (exit)

Peacenik message hub installation.

This script will install the following:
- Docker and Docker compose
- Peacenik message hub

Do you want to (1) install PostgreSQL or (2) provide your own connection info?

(if 2...)

PostgreSQL uri:
PostgreSQL port (5432):
PostgreSQL user:
PostgreSQL password:

Do you want to (1) install minio for local s3 storage or (2) provide your own s3 information?

(if 2...)

s3 key:
s3 secret:
s3 bucket:

Enter SMTP information:

host:
port (587):
user:
password:
email address (respond-to):

Do you want to (1) install minio for local s3 storage or (2) provide your own s3 information?

Enter the Peacenik username that will administer this message hub:

Type "YES" to accept Peacenik code of conduct https://about.peacenik.app/code-of-conduct

Installing dependencies
...docker
...etc

Installation complete. Settings can be modified by editing config.yaml.