This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
projects:cantata:version3:start [2016/09/09 03:13] dwheele [Cantata Version 3] |
projects:cantata:version3:start [2016/11/25 20:51] (current) dwheele [Cantata Version 3] |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| * PHPStorm IDE | * PHPStorm IDE | ||
| - | I set up the Oracle VirtualBox software, then ran some scripts under Vagrant which sets up a virtual machine with PHP, Laravel, MySql, and a micro web server. PhpStorm connects to this virual | + | I set up the Oracle VirtualBox software, then ran some scripts under Vagrant which sets up a virtual machine with PHP, Laravel, MySql, and a micro web server. PhpStorm connects to this virtual |
| + | |||
| + | To start Vagrant: | ||
| + | |||
| + | < | ||
| + | cd \Users\dan\Homestead | ||
| + | vagrant up | ||
| + | </ | ||
| + | |||
| + | Then launch PhpStorm. | ||
| + | |||
| + | ===== Launch an SSH Session within Virtual Machine ===== | ||
| + | |||
| + | To launch an SSH Session and talk to Laravel, in PhpStorm, select Tools -> SSH Session | ||
| + | |||
| + | ^Host|localhost| | ||
| + | ^Port|2222| | ||
| + | ^User name: | ||
| + | ^Password|usual password| | ||
| + | |||
| + | ==== Running Artisan Commands ==== | ||
| + | |||
| + | Set up the SSH session as shown above. Do this: | ||
| + | |||
| + | cd / | ||
| + | |||
| + | Then you can run artisan, e.g.,: | ||
| + | |||
| + | php artisan -list | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| ===== Requirements ===== | ===== Requirements ===== | ||