/trickylog

个人博客系统

Primary LanguageRuby

trickylog项目文档

依赖:

  • ruby: 2.3.0
  • rails: 4.2.5
  • postgresql: 9.5.1

pg 创建用户

  create role trickylog login password 'trick';
  create database trickylog_development with owner 'trickylog';

安装:

  bundle install --path vendor/bundle # 安装gems
  bundle exec rake db:create db:migrate # 创建schema

启动:

  bundle exec spring rails s -b 127.0.0.1 -p 3000