Mastdon Development Setup
Also see dev/setup admin/install
- Install Ruby
- Install Node
See nvm
- Install postgres
- Install redit
brew install redisbrew services start redis
- Clone
git clone git@github.com:mastodon/mastodon.git live
- Install ruby dependences
cd livebundle 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
Edit this page
Last updated on 9/24/2021