You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+75Lines changed: 75 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,82 @@ the enviorment and reconfigure whenever you want.
13
13
1. Download VirtualBox 5.2.22 for Mac OSX [here,](https://download.virtualbox.org/virtualbox/5.2.22/VirtualBox-5.2.22-126460-OSX.dmg) or Windows [here](https://download.virtualbox.org/virtualbox/5.2.22/VirtualBox-5.2.22-126460-Win.exe)
14
14
2. Run the installer.
15
15
3. Download Vagrant for Mac OSX [here,](https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.dmg) or Windows [here](https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.msi)
16
+
4. Let's create our first enviorment. You can run the script below to keep your rails projects on your Desktop.
16
17
17
18
```
19
+
cd /Desktop && mkdir rails && cd rails && vagrant init
20
+
```
21
+
5. Download the OS to VirtualBox
22
+
```
23
+
vagrant box add ubuntu/trusty64
24
+
```
25
+
6. Double check and make sure our new box is there
26
+
```
27
+
vagrant box list
28
+
```
29
+
7. Add this script to the Vagrant File
30
+
```
31
+
Vagrant.configure("2") do |config|
32
+
config.vm.box = "ubuntu/trusty64"
33
+
end
34
+
```
35
+
8. Start the vagrant server
36
+
```
37
+
vagrant up && vagrant ssh
38
+
```
39
+
9. Direct yourself to the vagrant directory
40
+
```
41
+
cd /vagrant
42
+
```
43
+
10. Add our Bootstrap File
44
+
```
45
+
mkdir new_project && cd new_project && touch bootstrap.sh
46
+
```
47
+
11. Copy this script to configure our virtual enviorment
0 commit comments