Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yasslab/railstutorial_box
a box for rails tutorial
https://github.com/yasslab/railstutorial_box
rails rails-tutorial vagrant
Last synced: 2 days ago
JSON representation
a box for rails tutorial
- Host: GitHub
- URL: https://github.com/yasslab/railstutorial_box
- Owner: yasslab
- Created: 2015-04-02T11:07:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-08-21T03:02:28.000Z (over 3 years ago)
- Last Synced: 2024-12-20T23:21:58.227Z (4 days ago)
- Topics: rails, rails-tutorial, vagrant
- Language: Shell
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Rails Tutorialを動かす環境です。
以下のboxの作り方を参考にしています。
https://github.com/rails/rails-dev-boxライセンスはMITです。
## このパッケージを使う
```rb
Vagrant.configure(2) do |config|
config.vm.box = "YassLab/railstutorial"
config.vm.box_version = "0.0.4"
config.vm.network "forwarded_port", guest: 3000, host: 3000
config.vm.synced_folder "./data", "/vagrant_data"
config.ssh.insert_key = false
end
```## Vagrantのパッケージをつくる
ホストOS
```console
$ vagrant up
```ゲストOS
```
$ wget https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub -O ~/.ssh/authorized_keys
```ホストOS
```
$ vagrant package --base 'railstutorial_box' -o railstutorial.box
```## ライセンス
The MIT License (MIT)
Copyright © 2015 [YassLab](http://yasslab.jp)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.