Github镜像

Jeremy Zheng b3d0fa4282 :bug: fix db demo 4 years ago
.vscode 303630cf7e :tada: create empty project 4 years ago
app c350ca8e6e :heavy_plus_sign: add i18n support 4 years ago
bin 303630cf7e :tada: create empty project 4 years ago
config 174bf6181d :heavy_plus_sign: add devise support 4 years ago
db 174bf6181d :heavy_plus_sign: add devise support 4 years ago
docker 7c723fe3d4 :pencil: merge docker usage 4 years ago
documents b600bd1b11 :heavy_plus_sign: add third gem 4 years ago
lib 303630cf7e :tada: create empty project 4 years ago
log 303630cf7e :tada: create empty project 4 years ago
public 303630cf7e :tada: create empty project 4 years ago
storage 303630cf7e :tada: create empty project 4 years ago
test 174bf6181d :heavy_plus_sign: add devise support 4 years ago
tmp 303630cf7e :tada: create empty project 4 years ago
vendor 303630cf7e :tada: create empty project 4 years ago
.browserslistrc 303630cf7e :tada: create empty project 4 years ago
.gitattributes 303630cf7e :tada: create empty project 4 years ago
.gitignore 303630cf7e :tada: create empty project 4 years ago
.ruby-version 303630cf7e :tada: create empty project 4 years ago
DAY-7.md b3d0fa4282 :bug: fix db demo 4 years ago
Gemfile c350ca8e6e :heavy_plus_sign: add i18n support 4 years ago
Gemfile.lock 1e4781fc9e :arrow_up: upgrade gems 4 years ago
LICENSE 7ce3cd2090 Initial commit 5 years ago
README.md db1815c3e1 :pencil: add day-7 4 years ago
Rakefile 303630cf7e :tada: create empty project 4 years ago
babel.config.js 303630cf7e :tada: create empty project 4 years ago
config.ru 303630cf7e :tada: create empty project 4 years ago
package.json 303630cf7e :tada: create empty project 4 years ago
postcss.config.js 303630cf7e :tada: create empty project 4 years ago
yarn.lock 303630cf7e :tada: create empty project 4 years ago

README.md

README

This README would normally document whatever steps are necessary to get the application up and running.

  • Clone code

    git clone

  • System dependencies

    bundle install
    
  • Database creation & initialization create database

    # Migrate the database to latest
    rake db:migrate    
    # Rolls the schema back to the previous version
    rake db:rollback
    # Loads the seed data
    rake db:seed
    
  • Create a model & migration

    rails generate model Item --no-fixture --no-test-framework
    rails generate migration AddHiToUsers
    
  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

Documents