Mastodon: Difference between revisions

No edit summary
Line 5: Line 5:
==System work==
==System work==
* Via [[APT]], install <tt>nodejs</tt>, <tt>redis-server</tt>, <tt>ruby-redis</tt>, <tt>rake</tt>, <tt>rbenv</tt>, <tt>ruby-bundler</tt>, <tt>postgresql-contrib</tt>, <tt>libpq-dev</tt>, <tt>libprotobuf-dev</tt>, <tt>protobuf-compiler</tt>, <tt>libidn11-dev</tt>, and <tt>cmdtest</tt> ("yarn").
* Via [[APT]], install <tt>nodejs</tt>, <tt>redis-server</tt>, <tt>ruby-redis</tt>, <tt>rake</tt>, <tt>rbenv</tt>, <tt>ruby-bundler</tt>, <tt>postgresql-contrib</tt>, <tt>libpq-dev</tt>, <tt>libprotobuf-dev</tt>, <tt>protobuf-compiler</tt>, <tt>libidn11-dev</tt>, and <tt>cmdtest</tt> ("yarn").
** You will now have a PostgreSQL instance running, if you didn't before.
** You will now have a PostgreSQL instance running on localhost:tcp/5432, if you didn't before.
** It will be listening to tcp/5432 on localhost only.
** You will now have a Redis instance running on localhost:tcp/6379, if you didn't before.
* Prep the database:
* Prep the database:
** <tt>echo "CREATE USER mastodon CREATEDB;" | sudo -u postgres psql</tt>
** <tt>echo "CREATE USER mastodon CREATEDB;" | sudo -u postgres psql</tt>