Created
June 27, 2018 16:33
-
-
Save Martin-Alexander/f8e8249d63b8b1bb73848d100d89aab9 to your computer and use it in GitHub Desktop.
Download & Setup All Projects
This file contains 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
for project_dir in */; do | |
cd "$project_dir" | |
git checkout master | |
git checkout -- . | |
git pull | |
bundle install | |
yarn install | |
rails db:drop db:create db:migrate db:seed | |
cd .. | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment