ruby做的网站如何发布

Python012

ruby做的网站如何发布,第1张

你说的应该是用Ruby on Rails(ROR)开发的网站

1.首先在本地运行, cmd窗口到项目所在目录,ruby script/server -p 3001 -e production

然后在 http:\\127.0.0.1:3001\ 就可以访问了

2.如果要外部访问发布,则需要使用apache

3.有域名的话把域名指向自己的地址

下面列举一下资源:

Ruby on Rails官网

Rails Guides

RubyGems

Interactive courses

Learn Ruby the Hard Way

Learn Rails the Zombie Way

The Odin Project

Ruby Monk

Codecademy

Paid courses:

One Month Rails

RailsApps

Udemy