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: devbox-photon/README.md
+12-4
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,9 @@
4
4
5
5
Devbox uses [Vagrant], [Docker] and [Photon OS] to create a local VM and install the Photon Controller components in docker containers. These components are installed from source located in the local working copy. This allows you to make a change locally without committing it and testing it end to end.
6
6
7
-
All of the components are compiled, packaged and started in their own containers inside the VM. The process does not make any changes to your working copy.
7
+
All of the components are compiled, packaged and started in their own containers inside the photon VM. The process does not make any changes to your working copy.
8
+
9
+
As part of photon controller security another VM that contains Lightwave container is created along with the photon VM above.
8
10
9
11
The logs from the Photon Controller services are synced to the host and are located in `log` directory.
10
12
@@ -30,7 +32,7 @@ We use Gradle for building and provisioning the devbox. The entire lifecycle can
30
32
31
33
./gradlew :devbox:up
32
34
33
-
This will bring up Vagrant, build all service containers, then start them. Your devbox is now ready.
35
+
This will bring up Vagrant, create ywo VMs, build all service containers, then start them. Your devbox is now ready.
34
36
35
37
#### Setting Vagrant box name and location
36
38
@@ -53,11 +55,17 @@ By default devbox starts with a private IP address (172.31.253.66). As described
53
55
54
56
You can go into the devbox VM using the vagrant ssh command.
55
57
56
-
vagrant ssh [photon]
58
+
vagrant ssh photon
59
+
60
+
This will take you into photon VM.
61
+
62
+
vagrant ssh lightwave
63
+
64
+
This will take you into lightwave vm
57
65
58
66
### Stopping and destroying devbox
59
67
60
-
vagrant destroy [-f] [photon]
68
+
vagrant destroy [-f] [photon/lightwave]
61
69
62
70
Destroying devbox is the recommended way of cleaning up.
0 commit comments