Skip to content
forked from jameszhan/ask-ruby

An idea project of Q&A site use ruby implementation.

License

Notifications You must be signed in to change notification settings

gmgreg/ask-ruby

 
 

Repository files navigation

Code Climate

ask-ruby

An idea project of Q&A site use ruby implementation.

Introduction

Development Mode

###Load Sample Data

rake db:drop
rake db:seed

##Production Mode

###Deploy to EC2

#ssh without password
cat ~/.ssh/id_rsa.pub | ssh -v -i ~/.ssh/xxx.pem ubuntu@ip_address 'cat >> ~/.ssh/authorized_keys'

git checkout master
#There is new machine do the scripts as following
cap deploy:install
cap deploy:setup
cap deploy:cold

#When there is any code update, you can run the following command to redeploy the new version.
cap deploy

About

An idea project of Q&A site use ruby implementation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published