Difference between #58 and #59 of
Yii v2 snippet guide III

Revision #59 has been created by rackycz on Mar 9, 2021, 11:03:50 AM with the memo:

Vagrant
« previous (#58) next (#60) »

Changes

Title unchanged

Yii v2 snippet guide III

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,yii2,beginer

Content changed

[...]
**Running Yii project in Vagrant. (Simplified version)**
---

*Info: This chapter works with PHP 7.0 in ScotchBox. If you need PHP 7.4, read next chapter where CognacBox is used (to be added when tested)*

Important: If command "vagrant ssh" wants a password, enter "vagrant".
 
 
- Do you want your colleague-developers to use identical environment like you have?
- Or do you want to easily setup whole server after you reinstalled your computer?
[...]
Once virtual is running, you can call also these:

- "vagrant ssh" opens Linux shell
 - use password "vagrant" is you are prompted.
- "vagrant halt" stops the virtual
- "vagrant reload" restarts the virtual and does NOT run config.vm.provision OR STARTS EXISTING VAGRANT VIRTUAL - you do not have to call "vagrant up" whenever you reboot your PC
- "vagrant reload --provision" restarts the virtual and runs config.vm.provision

In the Linux shell you can call any command you want.
[...]
8 0
4 followers
Viewed: 191 106 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Jan 21, 2021
Last updated: a year ago
Update Article

Revisions

View all history