software/Mastodon/tech: Difference between revisions
from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
→Files: main config file |
m Woozle moved page Mastodon/tech to software/Mastodon/tech: disambiguate from band (eventually) |
(No difference)
| |
Latest revision as of 19:12, 12 March 2025
- redirect Template:seed
At this point, I'm still skimming useful tidbits as I learn the system. -- Woozle
Pages
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 Template:L/wp/ref)
- Template:L/sw/Yarn, an application package manager for Node.js
- PostgreSQL - SQL database<ref name=masto-prod-guide />
- a web server - typically nginx, but Template:L/sw/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<ref name=masto-prod-guide />
- imagemagick - for the usual purposes
Files
- application: typically /home/Template:Arg/Template:Arg - but really, anywhere under the Mastodon user's home folder should work
- /home/Template:Arg/live/.env.production: main config file (for stuff not covered by UI)
- PostgreSQL logs (usually in /var/log/postgresql)
Local Notes
- Woozle attempts to install Mastodon, several times
Footnotes
<references> <ref name=masto-prod-guide>Mastodon Production Guide (official)</ref> </references>
