##Description This application is a personal blog demo, use Ruby on Rails implement
##Technology Stack
- ruby 2.1.1
- rails 4.2.0
##How To Run
-
clone the appliction
-
make sure your evironment have ruby and rails, if your environment don't have these , you can fllow this blow link to set up Rails enviroment :
-
install all dependency gems use bundle command :
bundle install -
rename the database config file to database.yml and config yourself database, database conifg file is in
config/database.yml.example -
migrate database use command :
bundle exec rake db:migrate -
use blow rake task to initilize admin username and password:
bundle exec rake init_user:create_admin -
run server use :
rails s