【文件属性】:
文件名称:hello-visitor:只是目前的概念证明
文件大小:198KB
文件格式:ZIP
更新时间:2021-03-21 22:28:58
Ruby
访客您好
妈,没有饼干!
免费的,注重隐私的分析。只需记录访问,没有令人毛骨悚然。
系统依赖
在开始之前,请确保已安装Docker以及:
rbenv install 2.7.2
brew install postgresql
启动服务
make
初始化数据库
make init
运行服务器
make serve
应用程序位于[http:// localhost:3000 /],以用户身份作为示例用户登录。
运行测试
make rspec
部署
在创建新用户,用真实值替换email和password :
user = User . new ( { email : 'test@example.com' , password : 'password' , password_confirmation : 'password' } )
user . save
去做