简体   繁体   English

我如何从github安装Rails应用程序

[英]How do i install rails application from github

Hi i have my application source code on github, now i want to upload it to my server. 嗨,我在github上有我的应用程序源代码,现在我想将其上传到我的服务器上。 Should i first run rails new blog and then do a git init and git pull? 我应该先运行rails new blog ,然后执行git init和git pull吗? Or do i have to create a folder manually, do a git pull to it and no need for rails new blog command? 还是我必须手动创建一个文件夹,是否对其进行了git pull且不需要rails new blog命令?

first you want to git clone that repo from git hub 首先,您想从git hub克隆该仓库

git clone blaa@github.com/blaa

once you get a folder created, go there and try doing 一旦创建了文件夹,就去那里尝试

bundle

once that's done and once your dependencies are resolved, you can start the server 一旦完成,并且解决了依赖性,就可以启动服务器

rails server

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM