This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
projects:cantata:version3:start [2016/09/09 02:57] dwheele created |
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 | ||
| - | ---------------------------- | ||
| - | Planning to make an updated version of Cantata, because the initial version looks very patched. Can use similar look and feel, while making improvements. | ||
| - | * [[cssinfo|CSS Info]] | ||
| - | * [[dan: | ||
| - | * [[dan: | ||
| ==== Javascript ==== | ==== Javascript ==== | ||
| Line 46: | Line 79: | ||
| * [[database|Database]] details | * [[database|Database]] details | ||
| - | ^Database Name|quizkidn_cantata2| | + | 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. |
| - | ^User Name|quizkidn_can2| | + | |
| - | | + | ^Database Name|quizkidn_cantata3| |
| - | * create user 'quizkidn_can2' | + | ^User Name|quizkidn_can3| |
| - | * grant all on quizkidn_cantata2.* to 'quizkidn_can2' | + | |
| + | | ||
| + | * create user 'quizkidn_can3' | ||
| + | * grant all on quizkidn_cantata3.* to 'quizkidn_can3' | ||
| * FLUSH PRIVILEGES; | * FLUSH PRIVILEGES; | ||
| * select user from mysql.user; | * select user from mysql.user; | ||
| - | |||
| ==== User Security ==== | ==== User Security ==== | ||