博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Multi-Computer collaboration on one ROR project
阅读量:6684 次
发布时间:2019-06-25

本文共 1032 字,大约阅读时间需要 3 分钟。

  hot3.png

If you want to develop one project in multi-computer,you can use github to storage your code and use heroku to deploy the project to internet.

But when you use multi-computer to do it,you may catch these issues:

- one computer push code to github,then in the other computer,you pull the code,but when you want to run it in the native,so you maybe try "rails s" to start the web server,but you will catch an error

You should run the command-bundle install and rake db:migrate to install all the gems and make the database is correct.

- when you want to deploy the project to heroku,you may do like this:

gem install heroku

heroku keys:add

heroku create --stack cedar

git push heroku master

heroku open

do like is all right,but you maybe get a error,that the browser show “We're sorry, but something went wrong.”

You should run the command in the terminal first:

heroku run bundle exec rake db:migrate

then run the command:heroku open

the browser will give the right show.

Thanks,

Blues

转载于:https://my.oschina.net/u/913344/blog/141575

你可能感兴趣的文章
Confluence 6 修改导航显示选项
查看>>
有hibernate的实体类转化成JSON过滤无干类型
查看>>
Centos+Sersync+inotify实时同步数据文件(一)
查看>>
Windows Live Writer发布多个日志
查看>>
python 线程
查看>>
深入浅出桌面虚拟化存储性能的评估
查看>>
druid 数据库密码加密
查看>>
我的友情链接
查看>>
我的友情链接
查看>>
唾面自干
查看>>
ospf v3
查看>>
ATM程序问题集
查看>>
遭遇ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
查看>>
java Socket 缓冲区与请求的关系
查看>>
Oracle 11gR2 使用 RMAN duplicate from active database 复制数据库
查看>>
自定义view的自定义属性的引用
查看>>
Exchange2013 Server 配置管理(二)
查看>>
基于mysql-mmm实现对mysql replication进行监控和故障迁移
查看>>
Scenario 5 –HP C7000 Virtual Connect SUS A/S Uplinks and LADP-FCoE-vSphere
查看>>
Android Support兼容包详解
查看>>