Mastdon Development Setup

Also see dev/setup admin/install

  1. Install Ruby

Installing Ruby 2. Install Node

See nvm

  1. Install postgres

Postgres Setup for Debian

  1. Install redit
brew install redis
brew services start redis
  1. Clone
git clone git@github.com:mastodon/mastodon.git live
  1. Install ruby dependences
cd live
bundle config set --local with 'development'
bundle install
  1. Install yarn
npm install --global yarn
  1. Install nodejs dependences
yarn
  1. Init database
RAILS_ENV=development bundle exec rails db:setup
  1. Install foreman for multiple run
gem install foreman --no-document
  1. Open

http://localhost:3000

email: admin@localhost:3000 password: mastodonadmin

Category: Dev 
TagsSelf-hosted
Published:   πŸ“ Edit this page

ResponseπŸ”—

Have you written a response to this? Let me know the article or tweet URL (Article or tweet content needs to include the URL of this article, learn more about webmention here).

The response will be automatically collected by webmention.io bot, and another bot will automatically post it here within 24 hours, I wrote an article about how to achieve this. You can also send your response via mail owen@owenyoung.com or Twitter DM