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
-[Create a react frontend](#create-a-react-frontend)
16
-
-[Connect the API with React](#downloading-react-into-our-project)
16
+
-[Connect the API with React](#downloading-react-into-our-project)]
17
17
18
18
## Downloading Virtual Box
19
19
@@ -24,106 +24,7 @@ and Rails 5 in a Virtual Box, React JS via create-react-app and connecting the f
24
24
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)
25
25
2. Run the installer.
26
26
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)
27
-
4. Let's create our first enviorment. You can run the script below to keep your rails projects on your Desktop.
28
-
29
-
```
30
-
cd /Desktop && mkdir rails && cd rails && vagrant init
31
-
```
32
-
33
-
5. Download the OS to VirtualBox
34
-
35
-
```
36
-
vagrant box add ubuntu/trusty64
37
-
```
38
-
39
-
6. Double check and make sure our new box is there
40
-
41
-
```
42
-
vagrant box list
43
-
```
44
-
45
-
7. Add this script to the Vagrant File
46
-
47
-
```
48
-
Vagrant.configure("2") do |config|
49
-
config.vm.box = "ubuntu/trusty64"
50
-
end
51
-
```
52
-
53
-
8. Start the vagrant server
54
-
55
-
```
56
-
vagrant up && vagrant ssh
57
-
```
58
-
59
-
9. Direct yourself to the vagrant directory
60
-
61
-
```
62
-
cd /vagrant
63
-
```
64
-
65
-
10. Add our Bootstrap File
66
-
67
-
```
68
-
mkdir new_project && cd new_project && touch bootstrap.sh
69
-
```
70
-
71
-
11. Copy this script to configure our virtual enviorment
0 commit comments