Commit Graph

241 Commits

Author SHA1 Message Date
Daigo 3 Dango 6a89b3cbe2 Add an explanation how to customize link to source code (#423)
This is to document the merged pull request:
https://github.com/tootsuite/mastodon/pull/4643
2017-10-18 00:25:51 +02:00
Akira 23985a9fb8 add note for commands. (#407)
* add note for commands.

The all listed commands is seemingly bash commands, but the 2nd and latter is command for rails command prompt.

* fix from null to nil
2017-10-13 08:30:32 +02:00
Daggertooth afa7c148f0 Correct 'null' to 'nil' in reactivation section (#422)
Replaced this 'null' with a 'nil' so Ruby won't throw a NameError.
2017-10-13 08:23:54 +02:00
Sadiq Saif 86b4fe9cd5 Rename Security-Guide to Security-Guide.md (#417) 2017-10-09 13:39:44 +02:00
Sadiq Saif 7588d745fb Add Security Guide (#415) 2017-10-08 15:20:56 +02:00
Akira b197f69606 add ExecReload to reload puma. (#406)
* add ExecReload to reload puma.

This enables puma to reload changes without restarting process.

* fix path for command `kill`

* fix to bash.

* change to /bin/kill

* change from hot restart to phased restart.
2017-10-03 16:40:16 +02:00
Yuta Hiroto 80ced41f42 Update ruby version (#404) 2017-09-28 10:46:42 +02:00
Nolan Lawson c4023ea8f5 sw.js should be served with max-age=0 (#355)
This is a new requirement for Mastodon v1.5+; it's mentioned here: https://github.com/tootsuite/mastodon/releases/tag/v1.5.0rc1
2017-09-21 04:21:18 +02:00
Nolan Lawson 1ddceb13de Add migration guide (#396)
* Add migration guide

* Update Migration-guide.md based on PR feedback
2017-09-21 04:13:40 +02:00
Alda Marteau-Hardi d948bdff02 Add instruction to undelete a user. (#374)
* Add instruction to undelete a user.

* Domain is null for local accounts.
2017-09-19 16:35:36 +02:00
Patrick Figel e452628cae Use single quotes for pg user password (#398)
Double quotes are not syntactically correct here.
2017-09-19 16:17:15 +02:00
Jay Logan 3a7c9c3921 Don't include RCs in initial setup (#397)
Fixing the same issue as d9e523ec15 where the command is used in Production-guide.md
2017-09-17 00:19:02 +02:00
Daggertooth d9e523ec15 Don't include RCs when checking out latest tag. (#369)
``git tag -l | sort -V | head -1`` will consider release candidates as the latest version, even if there's a stable release, due to how `sort -V` orders strings. Adding ``grep -v 'rc[0-9]*$'`` to filter out the release candidate tags fixes this.
2017-09-11 02:01:41 +02:00
Eugen Rochko fe6a8ad49d Update Administration-guide.md 2017-09-10 02:46:14 +02:00
Eugen Rochko f29cb7a488 Update Administration-guide.md 2017-09-10 02:31:15 +02:00
Ryanak 22a7c57342 Fix typo (#388) 2017-09-07 19:08:30 +02:00
Sadiq Saif e1c01d42ea Add VAPID keys section to needed variables section (#385)
VAPID keys are necessary for Web Push notifications to work.

Also fix a small typo.
2017-08-26 18:53:14 +02:00
Sadiq Saif fcab2b3c97 "gcc-6" should just be "gcc" (#379)
* "gcc-6" should just be "gcc"

gcc-6 isn't a valid package name

* It was `adduser mastodon` for a reason

making it with `--system and --disabled-password` breaks the rest of the guide where `su - mastodon` is used.

I use this method as it makes maintaining the Mastodon instance easier.

* eval "$(rbenv init -)" should be in ~/.bashrc as well

otherwise the correct ruby version isn't used

* Use sudo su - instead
2017-08-20 22:50:51 +02:00
Mathias B 1e98a53c85 Move curl installation (#380)
Curl need to be installed before the first time we use it. It's now installed before setting up nodejs repository.
2017-08-19 18:58:57 +02:00
Mathias B 8b6eb84430 Reduce Git dependencies (#381)
Here we can use only git-core in place of git.
2017-08-19 18:58:31 +02:00
cybergene 735392fcbd fix typo (#377)
* Add how to create VAPID_PRIVATE_KEY and VAPID_PUBLIC_KEY

* fix typo
2017-08-17 14:47:24 +02:00
Mathias B b69b7fee1a Fix some mistakes (#373)
- Nginx duplication in packages installation
- Specify the user type for `mastodon` (--system and --disabled-password)
- Simplify services start-up
- Clearly write how to check services are running (or not) with `systemctl status`
2017-08-16 22:13:44 +02:00
cybergene 6e52a54bbf Add how to create VAPID_PRIVATE_KEY and VAPID_PUBLIC_KEY (#376) 2017-08-16 22:13:11 +02:00
Sadiq Saif 61e9d31031 Adding my new updating Mastodon guide (#367)
This is guide is for use with my recently merged Production Guide.
2017-08-03 23:51:08 +02:00
Sadiq Saif d8b2b52690 Add libicu-dev to Mastodon apt package list (#366)
libicu-dev was added with v1.5.0, updating guide with this dependency.
2017-08-03 22:45:13 +02:00
Akira fa49976371 Add emoji files for nginx cache rules. (#360)
Some cases such as nginx uses reverse proxy, emoji will return 502 if not set.
+  sort by A-z.
2017-07-30 12:54:26 +02:00
Nolan Lawson b16afa2094 Add libidn11-dev to Ubuntu package dependencies (#356)
This is now required as of Mastodon v1.5.0+ due to idn-ruby.
2017-07-29 14:19:08 +02:00
Sadiq Saif 88b89e61d9 Complete rewrite of Mastodon Production Guide (#352)
* Complete re-write of Mastodon Production Guide

I re-wrote the Mastodon Production Guide so that it has a better structure.

Work on this re-write was done on my own repo:
https://github.com/staticsafe/mastodon-documentation

* Fix typo in a heading

* Change node.js Repository section to use curl|bash method.
For simplicity's sake

* Add an explanation of the dependencies
Added in the "Various Other Dependencies" section.

* Fix links to the Ruby project, was using the link to Rails previously.
2017-07-28 18:18:01 +02:00
Akira dd52795d7d replace g++ for build essential (#354)
g++ doesn't provide necessary package for gem.
2017-07-28 04:37:05 +02:00
Shin Kojima a2352b569f `rbenv install 2.4.1` requires readline-devel (#334)
Tested on Ubuntu Server 16.04.2 LTS

See: https://github.com/rbenv/ruby-build/wiki#trouble-with-irb-or-pry

> * Trouble with irb or pry
>
> Try installing readline and recompiling Ruby.
>
>     Ubuntu: apt-get install libreadline-dev
>     Fedora: yum install readline-devel
2017-07-25 19:16:58 +02:00
Eugen Rochko ab041d036d Fix #325 2017-07-25 19:09:07 +02:00
Eugen Rochko 138a04befd Fix customization docs 2017-07-25 18:09:58 +02:00
Eugen Rochko f8386a5d1e Update list of rake tasks (#347) 2017-07-25 18:04:45 +02:00
Eugen Rochko d8a9f70920 Update Maintenance-Tasks.md 2017-07-25 17:40:04 +02:00
Komic 7ff7949c6c Apache - Updating paths for 1.5.0rc1 (#344) 2017-07-25 00:06:54 +02:00
sdukhovni e65ed605d3 Update index after adding yarn repository (#343) 2017-07-23 11:10:20 +02:00
kfir e0f6fb40b0 Update Development-guide.md (#340)
in order to install ruby-idn we need to make sure we have libidn installed.
2017-07-16 01:40:40 +02:00
Francis 0ffa554fdb Use the Yarn APT/YUM repository instead of npm (#337)
Found this seemed to work better in my experience and also allows for easy updating like any other package.
2017-07-12 02:28:57 +02:00
Sadiq Saif cc3b0e393d Add Let's Encrypt section (#335)
* Add Let's Encrypt section with a short guide to certificate tool installation, certificate generation and automated renewal.

* Use systemctl instead of service in LE section
This is for consistency reasons.
2017-07-11 00:06:03 +02:00
nightpool aa28bbc4b6 remove bit about cronjobs (#333)
this has been out of date for a few months now
2017-07-05 03:01:30 +02:00
のら 36065d56c0 Add list of Rake tasks (#331) 2017-07-04 15:26:54 +02:00
Ash Furrow e976e8c0c7 Adds `mastodon:media:remove_silenced` rake task (#329) 2017-07-02 20:14:40 +02:00
Luclu7 07dd12e873 New server 2017-07-01 05:43:40 +02:00
ik bca4ee4f06 Add the first step to clone. 2017-06-29 20:56:50 +09:00
Luclu7 5cba732c10 Added my instance (#323) 2017-06-27 11:56:37 +02:00
Wexpo Lyu 3d88f71e21 Mention that we can use prebuilt images in docs. (#313)
* Mention that we can use prebuilt images.

Instead of building our own.

* Mention that we need to comment out `build`.

If we want to use prebuilt.
2017-06-27 11:53:59 +02:00
bovarysme e191aaa7a3 Remove the cronjobs section from the production guide 2017-06-25 07:52:20 +02:00
wxcafé 39fe30df48 Update Production-guide.md
Fixes the problem where the `mastodon` user has /bin/false as a shell and so `sudo -iu` won't do anything
2017-06-20 13:39:20 +02:00
Hayato IZUMI 06fc3e68c5 Remove unavailable package from General dependencies for CentOS / RHEL 2017-06-18 13:52:27 +09:00
Charlotte Fields eb317b35bb added some missing info to prod. (#306)
* added some missing info

* changed login and user creation

* corrected user creation and login

hopefully
2017-06-17 15:16:48 +02:00