An open API service indexing awesome lists of open source software.

https://github.com/nesosuke/mastodon-install-script

簡単にMastodonサーバーを建てられるようにするスクリプト / Scritpts to easily deploy Mastodon on Ubuntu
https://github.com/nesosuke/mastodon-install-script

mastodon

Last synced: about 2 months ago
JSON representation

簡単にMastodonサーバーを建てられるようにするスクリプト / Scritpts to easily deploy Mastodon on Ubuntu

Awesome Lists containing this project

README

          

# 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.

```bash
# adduser mastodon
# adduser mastodon sudo
```

2. Change user to `mastodon` and clone this repository.

```bash
# su - mastodon
$ cd ~
$ git clone https://github.com/nesosuke/mastodon-install-script.git
```

3. Run `install.sh`.
This script will ask you to enter the server's domain name and email address of the administrator.

```bash
$ cd mastodon-install-script
$ ./install.sh
```

4. Follow the interactive instructions.
This will create `.env.production`[^setup].

[^setup]:

### Update Mastodon

1. Change user to `mastodon` and clone this repository.

```bash
# su - mastodon
$ cd ~
$ git clone https://github.com/nesosuke/mastodon-install-script.git
```

2. Run `update.sh`.

```bash
$ cd mastodon-install-script
$ ./update.sh
```

## Reference

- Mastodon(github repo)
- Official Installation Manual