【文件属性】:
文件名称:vagrant-rails:Ruby on Rails 开发的实用 Vagrant 设置
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-28 16:41:25
Shell
流浪铁轨
Vagrant Rails 旨在使用 shell 配置和配置来简化用于 Rails 开发的 Vagrant 虚拟机的设置。
指示
获取 Vagrantfile 的副本
卷曲
$ curl -L http://bit.ly/vagrantrails > Vagrantfile
获取
$ wget -O Vagrantfile http://bit.ly/vagrantrails
直接下载: :
配置 Vagrantfile
随心所欲地编辑配置属性。 取消对配置部分中的一行的注释将启用软件的安装。
燃烧起来;动起来
$ vagrant up
# Access the VM
$ vagrant ssh
笔记
ruby 安装提供了一个 bash 别名 'ras' 来运行绑定到 0.0.0.0 的 rails 服务器。
$ ras # => rails server -b 0.
【文件预览】:
vagrant-rails-master
----Vagrantfile(1KB)
----scripts()
--------mysql.sh(679B)
--------ruby.sh(2KB)
--------sqlite.sh(90B)
--------base.sh(592B)
--------mongodb.sh(430B)
--------node.sh(159B)
----README.md(832B)
----.gitignore(16B)