Skip to content

josteinzheng/hr_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy instruction:

1 设置环境变量

SECRET_KEY_BASE(说明参见config/secrets.yml,可以使用rake secret生成)
RRD_HR_PASSWORD(后台管理员密码)

2 初始化生产环境数据库

bundle exec rake db:setup RAILS_ENV=production

3 预编译assets
bundle exec rake assets:precompile

OPTIONAL:
如果使用unicorn做为web server,运行命令为:bundle exec unicorn -D -o 0.0.0.0 -p 3000 -E production -c ./config/unicorn.rb

About

年假管理助手

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published