Mastodonのテスト
ngrok起動しておいて
psql -U postgres -d mastodon_development -c "drop schema public cascade"
psql -U postgres -d mastodon_development -c "create schema public"
bundle install;yarn install
RAILS_ENV=development bundle exec rake db:migrate
DOMAIN=`curl -s localhost:4040/api/tunnels|jq -r ".tunnels[0].public_url" | awk -F'://' '{print $2}'`
ALTERNATE_DOMAINS=${DOMAIN} BIND=0.0.0.0 foreman start
で一発かな