|
před 9 měsíci | |
---|---|---|
.gitignore | před 3 roky | |
LICENCE | před 3 roky | |
README.md | před 9 měsíci | |
clean.sh | před 3 roky | |
config.sample | před 3 roky | |
install.sh | před 9 měsíci | |
plugins-install.sh | před 9 měsíci | |
secure-db-install.sh | před 9 měsíci |
Bash installer for https://github.com/maubot/maubot/ with nginx and letsencrypt frontend.
Once installed, you will be able to run matrix bots in the wild!
See this tutorial for details.
Debian Buster minimum as you need Python 3.6 or higher
# 1. First create a subdomain which points to your server IP address
# 2.a) Then download and install
wget https://git.interhacker.space/alban/maubot-installer/raw/branch/master/install.sh/
bash install.sh
# 2.b) Or clone with git
git clone https://git.interhacker.space/alban/maubot-installer.git
cd maubot-installer
bash install.sh
# 3) Run the secure db install for security
bash secure-db-install.sh
# Optionnaly use the plugin installer if you cloned
# Edit the variables
$EDITOR plugin-install.sh
# OR use a config file
cp config.default config && $EDITOR config
bash plugin-install.sh
The script asks you some questions before install.
Caution, this one requires you to act BEFORE you install, or things might not work.
Maubot has a web frontend, so it is recommanded to create a subdomain to host it.
Provide the subdomain you created as a reply.
If you’re not sure, you probably don’t run your own matrix server. It’s fine. Just provide the matrix server on which you will create your bot’s account.
Maubot is a web app with a login / password interface. What will be your login?
Maubot is a web app with a login / password interface. What will be your password?
By default, this script will get an SSL/TLS certificate for you. This is the recommended and secure way.
If you run your own matrix server, provide the hyper secure registration secret password. Otherwise, let it empty.
Where do you intend the maubot code to reside on your server.
Which system user will be responsible for running the server.
The scripts use a config
file to record your variables.
cp config.sample config
nano config # Edit
Feel free to post issues here on https://git.interhacker.space/alban/maubot-installer/issues
Some plugins might require additional pip packages, you might have to install them by hand.