Also see dev/setup admin/install
- Install Ruby
Installing Ruby 2. Install Node
See nvm
- Install postgres
- Install redit
brew install redis
brew services start redis
- Clone
git clone git@github.com:mastodon/mastodon.git live
- Install ruby dependences
cd live
bundle config set --local with 'development'
bundle install
- Install yarn
npm install --global yarn
- Install nodejs dependences
yarn
- Init database
RAILS_ENV=development bundle exec rails db:setup
- Install foreman for multiple run
gem install foreman --no-document
- Open
email: admin@localhost:3000
password: mastodonadmin