Difference between revisions of "Mastodon/tech"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(more dependencies)
(→‎Files: main config file)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{seed}}
 
{{seed}}
 
At this point, I'm still skimming useful tidbits as I learn the system. -- {{woozle}}
 
At this point, I'm still skimming useful tidbits as I learn the system. -- {{woozle}}
 +
==Pages==
 +
* {{l/same|API}}
 +
* {{l/same|files}}
 
==About==
 
==About==
 
Mastodon consists of multiple components, including:
 
Mastodon consists of multiple components, including:
Line 6: Line 9:
 
* ...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}}, a [[package manager]] for [[Node.js]]
+
* {{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:
Line 17: Line 21:
 
==Files==
 
==Files==
 
* application: typically /home/{{arg|mastodon_user}}/{{arg|mastodon}} - but really, anywhere under the Mastodon user's home folder should work
 
* application: typically /home/{{arg|mastodon_user}}/{{arg|mastodon}} - but really, anywhere under the Mastodon user's home folder should work
 +
** '''/home/{{arg|mastodon_user}}/live/.env.production''': main config file (for stuff not covered by UI)
 
* PostgreSQL logs (usually in /var/log/postgresql)
 
* PostgreSQL logs (usually in /var/log/postgresql)
 +
 
==Local Notes==
 
==Local Notes==
 
* [[User:Woozle/Mastodon/setup|Woozle]] attempts to install Mastodon, several times
 
* [[User:Woozle/Mastodon/setup|Woozle]] attempts to install Mastodon, several times

Latest revision as of 17:32, 29 December 2019

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

Pages

About

Mastodon consists of multiple components, including:

Files

  • application: typically /home/<mastodon_user>/<mastodon> - but really, anywhere under the Mastodon user's home folder should work
    • /home/<mastodon_user>/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