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:09] dwheele [Database] |
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|Requirements]] for version 3 | ||
| Line 39: | Line 77: | ||
| ==== Database ==== | ==== Database ==== | ||
| - | * [[database3|Database]] details | + | * [[database|Database]] details |
| Compared to Cantata2, this Cantata3 database information takes into account the move to Laravel. Also, when setting up the Model/DB Tables, noticed that the Keywords for Cantata2 only applied to the Song Level, but perhaps should have been at the File level as well. This would allow filtering or tagging for various people leading - to make it quicker to select keys, etc. | Compared to Cantata2, this Cantata3 database information takes into account the move to Laravel. Also, when setting up the Model/DB Tables, noticed that the Keywords for Cantata2 only applied to the Song Level, but perhaps should have been at the File level as well. This would allow filtering or tagging for various people leading - to make it quicker to select keys, etc. | ||