Difference between revisions of "User:Woozle/Mastodon/setup"

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
(saving status so far)
 
Line 1: Line 1:
 
I'm trying to use [[Mastodon Social|Mastodon]] with [[Apache web server|Apache]] and [[MySQL]], for reasons I can go into, rather than the apparently-assumed defaults of [[nginx]] and [[Postgres]]. (It's never explicitly stated "no, Mastodon will not work with anything else", but this may turn out to be the case.)
 
I'm trying to use [[Mastodon Social|Mastodon]] with [[Apache web server|Apache]] and [[MySQL]], for reasons I can go into, rather than the apparently-assumed defaults of [[nginx]] and [[Postgres]]. (It's never explicitly stated "no, Mastodon will not work with anything else", but this may turn out to be the case.)
 +
 +
I'm using [https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Production-guide.md these instructions] as a guide.
 
==Notes==
 
==Notes==
 
* Created a virtual server for Mastodon (icmstdn.com) using [[Virtualmin]].
 
* Created a virtual server for Mastodon (icmstdn.com) using [[Virtualmin]].
Line 6: Line 8:
 
* Created file .env.production (it didn't already exist) and then took a look at .env.production.sample to see what needs to be set.
 
* Created file .env.production (it didn't already exist) and then took a look at .env.production.sample to see what needs to be set.
 
===Database===
 
===Database===
There doesn't seem to be any way to tell it which db engine to use -- but this ''looks'' like a standard [[Ruby on Rails]] config file -- so let's check my [[Redmine]] installation (which uses MySQL) to see if there are any clues...
+
There doesn't seem to be any way to tell it which db engine to use -- but this looks like it ''could'' be a standard Ruby or [[Ruby on Rails]] config file -- so let's check my [[Redmine]] installation (which uses MySQL) to see if there are any clues...
 +
 
 +
Nope, no joy there.

Revision as of 13:22, 23 April 2017

I'm trying to use Mastodon with Apache and MySQL, for reasons I can go into, rather than the apparently-assumed defaults of nginx and Postgres. (It's never explicitly stated "no, Mastodon will not work with anything else", but this may turn out to be the case.)

I'm using these instructions as a guide.

Notes

  • Created a virtual server for Mastodon (icmstdn.com) using Virtualmin.
  • Used Git to clone Mastodon (repository clone URL) into a subfolder of public_html
    • Mastodon's files are now in /home/icmstdn/public_html/mastodon
  • Created file .env.production (it didn't already exist) and then took a look at .env.production.sample to see what needs to be set.

Database

There doesn't seem to be any way to tell it which db engine to use -- but this looks like it could be a standard Ruby or Ruby on Rails config file -- so let's check my Redmine installation (which uses MySQL) to see if there are any clues...

Nope, no joy there.