User Tools

Site Tools


projects:cantata:version3:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 box, and using its built-in SSH Session window, I can run command line functions against Laravel's Artisan. 9/8/2016.+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: 
 + 
 +<code> 
 +cd \Users\dan\Homestead 
 +vagrant up 
 +</code> 
 + 
 +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:|vagrant| 
 +^Password|usual 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 ===== 
 + 
 +   * [[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:apps:cantata:version2:displaymode|Display Mode List]] 
-  * [[dan:apps:cantata:version2:writeaction|writeAction List]] 
  
 ==== 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|+
  
-  * create database quizkidn_cantata2+^Database Name|quizkidn_cantata3| 
-  * create user 'quizkidn_can2'@'%' identified by 'cantatapass2'; +^User Name|quizkidn_can3| 
-  * grant all on quizkidn_cantata2.* to 'quizkidn_can2'@'%';+ 
 +  * create database quizkidn_cantata3
 +  * create user 'quizkidn_can3'@'%' identified by 'cantatapass3'; 
 +  * 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 ====
  
projects/cantata/version3/start.1473389837.txt.gz · Last modified: 2016/09/09 02:57 by dwheele