Skip to content

Instantly share code, notes, and snippets.

@usutani
Last active October 3, 2021 08:00
Show Gist options
  • Save usutani/3cfe9a7ccb82f84dc368ff2d057108be to your computer and use it in GitHub Desktop.
Save usutani/3cfe9a7ccb82f84dc368ff2d057108be to your computer and use it in GitHub Desktop.
foreman で Rails / Redis サーバーを起動する
gem install foreman
brew install redis

touch Procfile.dev

touch ./bin/dev
chmod +x ./bin/dev
#!/usr/bin/env bash
foreman start -f Procfile.dev
web: bin/rails server -p 3000
redis: redis-server /usr/local/etc/redis.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment