Table of Contents

Cantata Version 3

Worked on Cantata Version 3 starting mid-2016. Vacillated between different ways, current writing with these tools:

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 box, and using its built-in SSH Session window, I can run command line functions against Laravel's Artisan. 9/8/2016.

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

Hostlocalhost
Port2222
User name:vagrant
Passwordusual password

Running Artisan Commands

Set up the SSH session as shown above. Do this:

 cd /home/vagrant/Code/cantata3

Then you can run artisan, e.g.,:

 php artisan -list
 

Requirements

Javascript

JQuery

PHP

PHP File Upload Info

http://php.net/manual/en/features.file-upload.post-method.php

Ajax

File Upload Jquery Extension

Database

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.

Database Namequizkidn_cantata3
User Namequizkidn_can3

User Security

http://usercake.com/docs.php

Performance

Noticed that just getting a MySQL connection from my workstation to the server ivan, took over 2 seconds.