HerokuRailsBlog:使用简单的博客应用程序在 Heroku 上测试 Ruby on Rails-源码

上传者: 42154650 | 上传时间: 2021-07-12 19:08:27 | 文件大小: 225KB | 文件类型: ZIP
这是一个用 Ruby on Rails 编写的简单微博。 Ruby版本:2.0.0 导轨版本:4.0.2 运行应用程序的步骤: 1)进入根目录 2)运行“捆绑安装” 3) 如果您在任何 Linux 发行版上本地运行,请运行“sudo apt-get install nodejs”和“sudo apt-get install libpq-dev”。 4) 运行 'rake db:migrate' 来修复数据库迁移 4)运行'rails' 5) 在您喜欢的浏览器上打开 localhost:3000。

文件下载

资源详情

[{"title":"( 94 个子文件 225KB ) HerokuRailsBlog:使用简单的博客应用程序在 Heroku 上测试 Ruby on Rails-源码","children":[{"title":"HerokuRailsBlog-master","children":[{"title":"log","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"public","children":[{"title":"500.html <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"robots.txt <span style='color:#111;'> 204B </span>","children":null,"spread":false},{"title":"422.html <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"assets","children":[{"title":"application-eb8ce7895ed92e6b2dec319f7ec69de2.css <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"application-eb8ce7895ed92e6b2dec319f7ec69de2.css.gz <span style='color:#111;'> 693B </span>","children":null,"spread":false},{"title":"application-cb5574cc251072a5ceb51b6cf1fe6d99.js <span style='color:#111;'> 308.33KB </span>","children":null,"spread":false},{"title":"application-cb5574cc251072a5ceb51b6cf1fe6d99.js.gz <span style='color:#111;'> 89.85KB </span>","children":null,"spread":false},{"title":"manifest-595d077c42e0df1de3149de3dfc4efe6.json <span style='color:#111;'> 514B </span>","children":null,"spread":false}],"spread":true},{"title":"404.html <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"config.ru <span style='color:#111;'> 154B </span>","children":null,"spread":false},{"title":"db","children":[{"title":"seeds.rb <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"schema.rb <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"migrate","children":[{"title":"20140213123648_create_microposts.rb <span style='color:#111;'> 185B </span>","children":null,"spread":false},{"title":"20140213115421_create_users.rb <span style='color:#111;'> 169B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"lib","children":[{"title":"tasks","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"assets","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Gemfile <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"README.rdoc <span style='color:#111;'> 417B </span>","children":null,"spread":false},{"title":"Rakefile <span style='color:#111;'> 255B </span>","children":null,"spread":false},{"title":"config","children":[{"title":"initializers","children":[{"title":"wrap_parameters.rb <span style='color:#111;'> 517B </span>","children":null,"spread":false},{"title":"inflections.rb <span style='color:#111;'> 647B </span>","children":null,"spread":false},{"title":"session_store.rb <span style='color:#111;'> 148B </span>","children":null,"spread":false},{"title":"filter_parameter_logging.rb <span style='color:#111;'> 194B </span>","children":null,"spread":false},{"title":"secret_token.rb <span style='color:#111;'> 664B </span>","children":null,"spread":false},{"title":"mime_types.rb <span style='color:#111;'> 205B </span>","children":null,"spread":false},{"title":"backtrace_silencers.rb <span style='color:#111;'> 404B </span>","children":null,"spread":false}],"spread":true},{"title":"application.rb <span style='color:#111;'> 987B </span>","children":null,"spread":false},{"title":"environments","children":[{"title":"test.rb <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"development.rb <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"production.rb <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"locales","children":[{"title":"en.yml <span style='color:#111;'> 634B </span>","children":null,"spread":false}],"spread":true},{"title":"boot.rb <span style='color:#111;'> 171B </span>","children":null,"spread":false},{"title":"routes.rb <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"database.yml <span style='color:#111;'> 576B </span>","children":null,"spread":false},{"title":"environment.rb <span style='color:#111;'> 156B </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"test_helper.rb <span style='color:#111;'> 492B </span>","children":null,"spread":false},{"title":"integration","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"models","children":[{"title":"micropost_test.rb <span style='color:#111;'> 123B </span>","children":null,"spread":false},{"title":"user_test.rb <span style='color:#111;'> 118B </span>","children":null,"spread":false},{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"controllers","children":[{"title":"users_controller_test.rb <span style='color:#111;'> 1023B </span>","children":null,"spread":false},{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"microposts_controller_test.rb <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false}],"spread":false},{"title":"fixtures","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"microposts.yml <span style='color:#111;'> 167B </span>","children":null,"spread":false},{"title":"users.yml <span style='color:#111;'> 171B </span>","children":null,"spread":false}],"spread":false},{"title":"helpers","children":[{"title":"users_helper_test.rb <span style='color:#111;'> 72B </span>","children":null,"spread":false},{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"microposts_helper_test.rb <span style='color:#111;'> 77B </span>","children":null,"spread":false}],"spread":false},{"title":"mailers","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Gemfile.lock <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 466B </span>","children":null,"spread":false},{"title":"app","children":[{"title":"views","children":[{"title":"users","children":[{"title":"_form.html.erb <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"index.json.jbuilder <span style='color:#111;'> 116B </span>","children":null,"spread":false},{"title":"show.html.erb <span style='color:#111;'> 227B </span>","children":null,"spread":false},{"title":"new.html.erb <span style='color:#111;'> 75B </span>","children":null,"spread":false},{"title":"show.json.jbuilder <span style='color:#111;'> 66B </span>","children":null,"spread":false},{"title":"index.html.erb <span style='color:#111;'> 641B </span>","children":null,"spread":false},{"title":"edit.html.erb <span style='color:#111;'> 110B </span>","children":null,"spread":false}],"spread":false},{"title":"microposts","children":[{"title":"_form.html.erb <span style='color:#111;'> 619B </span>","children":null,"spread":false},{"title":"index.json.jbuilder <span style='color:#111;'> 146B </span>","children":null,"spread":false},{"title":"show.html.erb <span style='color:#111;'> 259B </span>","children":null,"spread":false},{"title":"new.html.erb <span style='color:#111;'> 85B </span>","children":null,"spread":false},{"title":"show.json.jbuilder <span style='color:#111;'> 76B </span>","children":null,"spread":false},{"title":"index.html.erb <span style='color:#111;'> 692B </span>","children":null,"spread":false},{"title":"edit.html.erb <span style='color:#111;'> 125B </span>","children":null,"spread":false}],"spread":false},{"title":"layouts","children":[{"title":"application.html.erb <span style='color:#111;'> 300B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"models","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"micropost.rb <span style='color:#111;'> 106B </span>","children":null,"spread":false},{"title":"concerns","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"user.rb <span style='color:#111;'> 59B </span>","children":null,"spread":false}],"spread":false},{"title":"controllers","children":[{"title":"application_controller.rb <span style='color:#111;'> 204B </span>","children":null,"spread":false},{"title":"microposts_controller.rb <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"users_controller.rb <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"concerns","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"helpers","children":[{"title":"application_helper.rb <span style='color:#111;'> 29B </span>","children":null,"spread":false},{"title":"microposts_helper.rb <span style='color:#111;'> 28B </span>","children":null,"spread":false},{"title":"users_helper.rb <span style='color:#111;'> 23B </span>","children":null,"spread":false}],"spread":false},{"title":"mailers","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"assets","children":[{"title":"images","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"stylesheets","children":[{"title":"scaffolds.css.scss <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"users.css.scss <span style='color:#111;'> 176B </span>","children":null,"spread":false},{"title":"application.css <span style='color:#111;'> 546B </span>","children":null,"spread":false},{"title":"microposts.css.scss <span style='color:#111;'> 181B </span>","children":null,"spread":false}],"spread":false},{"title":"javascripts","children":[{"title":"application.js <span style='color:#111;'> 664B </span>","children":null,"spread":false},{"title":"microposts.js.coffee <span style='color:#111;'> 211B </span>","children":null,"spread":false},{"title":"users.js.coffee <span style='color:#111;'> 211B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"bin","children":[{"title":"bundle <span style='color:#111;'> 129B </span>","children":null,"spread":false},{"title":"rake <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"rails <span style='color:#111;'> 146B </span>","children":null,"spread":false}],"spread":false},{"title":"vendor","children":[{"title":"assets","children":[{"title":"stylesheets","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"javascripts","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明