Commit Graph

214 Commits

Author SHA1 Message Date
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
Charlotte Fields db5c961282 small doc fix (#307) 2017-06-17 14:30:28 +02:00
Aral Balkan 61d6d17904 Update command to checkout latest release.
The git tag command was incorrectly checking out release candidates instead of the latest release. Fixes #309
2017-06-15 17:22:04 +02:00
Benoît S 445dc18cd9 Missing RAILS_ENV=production and bundle exec
If you're omitting RAILS_ENV and `bundle exec` you'll have:

~~~
rake aborted!                             
NameError: uninitialized constant Annotate
[…]
~~~
2017-06-14 17:40:01 +02:00
Raphael Lullis 491e44c346 Create Serving_a_different_domain.md
The location directive was missing the "=" operator.
2017-06-11 03:55:38 +02:00
Valentin Lorentz e2fcb2f407 Update resources of oc.todon.fr 2017-06-04 17:24:38 +02:00
zunda 58d6dcb46a Remove the procedure to run `rake secret` outside the container
This change will help users avoid unnecessary procedure to
complete `bundle install` outside the container.

The explanation

> To generate the PAPERCLIP_SECRET, SECRET_KEY_BASE, and
> OTP_SECRET, you may use:
>
> ```
> rake secret
> ```

gives users a false impression that secrets have to be filled in
before the image can be built. Here, with introduction of CLD3,
completion of `bundle install` became more involved procedure to
prepare tools and libraries as well as higher version of Ruby.
2017-06-02 21:19:30 -10:00
USAMI Kenta e8bcf6a035 Explicitly use --provider option for vagrant up
When a provider other than virtualbox is registered in Vagrant, `vagrant up` can not start Mastodon.
For example, it corresponds to the environment where Parallels Desktop is installed.
2017-05-31 12:52:03 +09:00
koug44 473152c792 Update on apache configuration
Added the needed ProxyPass exceptions for 1.4.1
2017-05-29 17:32:17 -04:00
Myles Braithwaite 2da7d4fc0a Needed pkg-config to install cld3.
In Debian the package `pkg-config` is required to install the rubygem `cld3`.
2017-05-29 14:36:32 -04:00
Eugen Rochko cc88ba21df Merge pull request #272 from tootsuite/fix-custom-scss
Update customization guide
2017-05-27 16:55:17 +02:00
Eugen Rochko d892b9ff8f Update customization guide 2017-05-27 16:51:28 +02:00
Eugen Rochko 8b5d2ba471 Fix API docs by adding missing attributes and methods, fix example
nginx config by removing overly specific configuration options
that confuse more than they help
2017-05-26 17:29:47 +02:00
Eugen Rochko d17b64e130 Merge pull request #129 from danhunsaker/feature/nanobox
Document Nanobox Usage
2017-05-23 16:57:23 +02:00
Nolan Lawson 6b29d736ec s/assets/packs/
`assets` are now at `packs`. Unfortunately this change will permanently cache `stats.json` and `report.html`, but these aren't super critical since they're just for debugging. I confirmed that `manifest.json` is not affected and no other non-fingerprinted assets are affected.
2017-05-22 20:07:40 -07:00
Diana Thayer 887837ab87 Update Development-guide.md
Since the document specifies the `--pure-lockfile` flag, it seems inaccurate to say, "Similarly, installing JavaScript dependencies doesn't require any flags."

I've changed the text accordingly. I hope it's appropriate!
2017-05-21 22:57:17 -07:00
Eugen Rochko 770c90da74 Merge pull request #239 from jeroenpraat/patch-2
explaining DB_POOL better
2017-05-22 04:23:21 +02:00
Eugen Rochko b71e181661 Merge pull request #244 from seefood/patch-1
dependencies and webpacker
2017-05-22 04:21:43 +02:00
Eugen Rochko f4e6c29a53 Update Development-guide.md 2017-05-22 04:21:32 +02:00
Eugen Rochko 9a89190202 Update Development-guide.md 2017-05-22 04:20:26 +02:00
Eugen Rochko c29f6f2ee6 Update Development-guide.md 2017-05-22 04:19:33 +02:00
Chad Ingram d0b9bb8801 Update Development-guide.md
Add protobuf to brew install line - needed by cld3
2017-05-17 00:08:04 -04:00
Eugen Rochko afaa3feda1 Merge pull request #251 from aral/mac-development-environment-instructions
Mac development environment instructions
2017-05-16 16:56:15 +02:00
Aral Balkan ab538eeb51
Fix typo on Mac developer guide 2017-05-16 16:45:40 +02:00
Aral Balkan 0f26e2962a
Cosmetic: removed trailing line in code on Mac dev guide 2017-05-16 16:31:44 +02:00
Aral Balkan 9de932c427
Change order of prerequisites in Mac development guide
Xcode commandline tools need to be installed before ffmpeg is
as they’re used to compile it.
2017-05-16 16:20:03 +02:00
Aral Balkan 34071d26d0
Improve running instructions in Mac development guide (#250) 2017-05-16 16:09:37 +02:00
Aral Balkan c84f141e22
Add Mac development environment setup instructions. Closes #250 2017-05-16 16:04:50 +02:00