init

rails new project -d postgresql
config the database name and username in "database.yml"

add boostrap.css to app/assets/stylesheets/

gem 'devise'
gem 'will_paginate'

rails g devise:install
rails g devise User
rails g devise:views
add :name and :admin to User
modify application_controller.rb

convert to traditional chinese in login, logon

rails g controller jobs

layouts/header