Skip to content

Instantly share code, notes, and snippets.

@ASnow
Last active April 19, 2016 12:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ASnow/32c24d5c8f98f069591a to your computer and use it in GitHub Desktop.
Save ASnow/32c24d5c8f98f069591a to your computer and use it in GitHub Desktop.
# 1. prepare git for private
# https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/
# https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/
# https://help.github.com/articles/testing-your-ssh-connection/
# 2. deploy app
for file in config/samples/*.rb; do cp "$file" "${file/samples\//initializers\/}";done
for file in config/initializers/*.sample.rb; do mv "$file" "${file/.sample/}";done
for file in config/samples/*.yml; do cp "$file" "${file/samples\//}";done
for file in config/*.sample.yml; do mv "$file" "${file/.sample/}";done
bundle install
rake bower:install
@ASnow
Copy link
Author

ASnow commented Feb 24, 2016

Запуск тестов

rake db:test:prepare
spork
bundle exec rspec --drb spec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment