Frist run this migrations :
php artisan queue:table
php artisan queue:failed-table
php artisan migrate
| <?php | |
| /** | |
| * What is the difference between new self and new static? | |
| * self refers to the same class in which the new keyword is actually written. | |
| * | |
| * static, in PHP 5.3's late static bindings, | |
| * refers to whatever class in the hierarchy you called the method on. | |
| * | |
| * In the following example, B inherits both methods from A. | |
| * The self invocation is bound to A because it's defined in A's implementation |
Frist run this migrations :
php artisan queue:table
php artisan queue:failed-table
php artisan migrate
Frist run this migrations :
php artisan queue:table
php artisan queue:failed-table
php artisan migrate
This gist assumes:
| https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-7-on-ubuntu-14-04-via-apt-get | |
| server slow solution | |
| replacing securerandom.source=file:/dev/urandom with securerandom.source=file:/dev/./urandom from file $JAVA_PATH/jre/lib/security/java.security solved my problem. | |
| $JAVA_HOME is here /usr/lib/jvm/default-java |
| sudo apt-get install nodejs | |
| sudo apt-get install npm | |
| sudo ln -s /usr/bin/nodejs /usr/bin/node | |
| sudo npm install -g express |