Skip to content

Instantly share code, notes, and snippets.

@Martin-Alexander
Created June 27, 2018 16:33
Show Gist options
  • Save Martin-Alexander/f8e8249d63b8b1bb73848d100d89aab9 to your computer and use it in GitHub Desktop.
Save Martin-Alexander/f8e8249d63b8b1bb73848d100d89aab9 to your computer and use it in GitHub Desktop.
Download & Setup All Projects
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