Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1.23 KB

README.md

File metadata and controls

60 lines (41 loc) · 1.23 KB

Mastodon-install-script

Scritpts to easily deploy Mastodon on Ubuntu. I hope it will be useful for you.

NOTE: By using this script, Mastodon will be installed on non-docker environment.

Usage

Install Mastodon

  1. Create user mastodon and add sudoers.
# adduser mastodon
# adduser mastodon sudo
  1. Change user to mastodon and clone this repository.
# su - mastodon
$ cd ~
$ git clone https://github.com/nesosuke/mastodon-install-script.git
  1. Run install.sh. This script will ask you to enter the server's domain name and email address of the administrator.
$ cd mastodon-install-script
$ ./install.sh
  1. Follow the interactive instructions. This will create .env.production1.

Update Mastodon

  1. Change user to mastodon and clone this repository.
# su - mastodon
$ cd ~
$ git clone https://github.com/nesosuke/mastodon-install-script.git
  1. Run update.sh.
$ cd mastodon-install-script
$ ./update.sh

Reference

Footnotes

  1. https://docs.joinmastodon.org/admin/install/#generating-a-configuration