【文件属性】:
文件名称:weightof.it:按重量比较JavaScript库(文件大小)
文件大小:188KB
文件格式:ZIP
更新时间:2021-05-22 10:05:35
Ruby
权重
按重量比较JavaScript库(文件大小)
设置
克隆项目:
git clone git@github.com:stefanrush/weightof.it
使用以下命令输入项目文件夹:
cd weightof.it
使用以下命令创建application.yml配置文件:
cp config/application.example.yml config/application.yml
将个人配置设置添加到config/application.yml 。
使用以下命令安装依赖项:
bundle install
设置数据库:
bundle exec rake db:create db:migrate
种子数据库具有:
bundle exec rake db:seed
测验
如果未安装PhantomJS,请通过将spec/support/capybara.rb