Difference between revisions of "Mastodon/tech"
< Mastodon
Jump to navigation
Jump to search
(more dependencies) |
(bundler) |
||
Line 6: | Line 6: | ||
* ...which runs under [[Ruby on Rails]] | * ...which runs under [[Ruby on Rails]] | ||
* [[redis]], an "in-memory database server" aka "dictionary" (see {{l/wp/ref|Redis}}) | * [[redis]], an "in-memory database server" aka "dictionary" (see {{l/wp/ref|Redis}}) | ||
− | * {{l/sw/Yarn}}, | + | * {{l/sw/Yarn}}, an [[application package manager]] for [[Node.js]] |
* [[PostgreSQL]] - SQL database<ref name=masto-prod-guide /> | * [[PostgreSQL]] - SQL database<ref name=masto-prod-guide /> | ||
* a web server - typically [[nginx]], but {{l/sw/Apache}} also works | * a web server - typically [[nginx]], but {{l/sw/Apache}} also works | ||
* [[Node.js]] | * [[Node.js]] | ||
* [[Ruby]] - language used for most server-side operations | * [[Ruby]] - language used for most server-side operations | ||
+ | ** [[Bundler]] - [[application package manager]] for Ruby, packaged as a [[Ruby Gem]] | ||
** [[Ruby on Rails]] - [[application framework]] | ** [[Ruby on Rails]] - [[application framework]] | ||
* utilities: | * utilities: |
Revision as of 15:34, 8 January 2018
This page is a seed article. You can help HTYP water it: make a request to expand a given page and/or donate to help give us more writing-hours!
|
At this point, I'm still skimming useful tidbits as I learn the system. -- Woozle
About
Mastodon consists of multiple components, including:
- the Mastodon application software (mainly Ruby and JavaScript)
- ...which runs under Ruby on Rails
- redis, an "in-memory database server" aka "dictionary" (see Wikipedia)
- Yarn, an application package manager for Node.js
- PostgreSQL - SQL database[1]
- a web server - typically nginx, but Apache also works
- Node.js
- Ruby - language used for most server-side operations
- Bundler - application package manager for Ruby, packaged as a Ruby Gem
- Ruby on Rails - application framework
- utilities:
- ffmpeg - for conversion of GIFs to MP4s[1]
- imagemagick - for the usual purposes
Files
- application: typically /home/<mastodon_user>/<mastodon> - but really, anywhere under the Mastodon user's home folder should work
- PostgreSQL logs (usually in /var/log/postgresql)
Local Notes
- Woozle attempts to install Mastodon, several times
Footnotes
- ↑ 1.0 1.1 Mastodon Production Guide (official)