diff options
author | thekettu <samantha.chalker@nccgroup.trust> | 2018-04-08 18:25:23 -0700 |
---|---|---|
committer | thekettu <samantha.chalker@nccgroup.trust> | 2018-04-08 18:25:23 -0700 |
commit | 187a54cec81e1e60f209fab8f19aeb5195521440 (patch) | |
tree | 830f3d59add194835895087ccfc0175a512b4a89 /in-a-box/README.md | |
parent | 376dbb16b9bad4efce6bfd305a13761eb83a00ce (diff) |
Untested Easy Mastodon Setup thing
Diffstat (limited to 'in-a-box/README.md')
-rw-r--r-- | in-a-box/README.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/in-a-box/README.md b/in-a-box/README.md new file mode 100644 index 0000000..42c3b12 --- /dev/null +++ b/in-a-box/README.md @@ -0,0 +1,21 @@ +# Mastodon Secure-ish Setup in a Box + +Step 1: Git clone this repository. + +Step 2: Replace `example.com` in `docker-compose.yml` with your server name. + +Step 3: Run `./mastodon.sh setup` and afterwards, move `public/system/.env.production` to the `.docker/mastodon/` folder. + +Step 4: Run `./mastodon.sh acme` to set up Let's Encrypt. Make sure that port 80 is allowed by the firewall. + +Step 5: Run `docker-compose up -d` to start all services. Verify with `docker-compose ps` that they're up. + +Step 6: Register on the instance. + +Step 7: Run `./mastodon.sh make_admin USERNAME=yourusername` (replace "yourusername" with your username). + +Step 8: Set a cron job to run `./mastodon.sh cron` daily via inserting `@daily /path/to/mastodon.sh cron` into `crontab -e`. + +Step 9: Optionally, set a daily cron to run `./mastodon.sh backup daily` and an hourly cron for `./mastodon.sh backup hourly`. + +Step 10: Enjoy! Don't forget to set up your OS's firewall. |