gem install foreman
brew install redis
touch Procfile.dev
touch ./bin/dev
chmod +x ./bin/dev
Last active
October 3, 2021 08:00
-
-
Save usutani/3cfe9a7ccb82f84dc368ff2d057108be to your computer and use it in GitHub Desktop.
foreman で Rails / Redis サーバーを起動する
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
foreman start -f Procfile.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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