$ vagrant up
$ vagrant share
| ssh-keygen -t rsa -C "you@homestead" |
| # PHP | |
| alias php='/opt/php56/bin/php' | |
| alias composer='~/composer.phar' | |
| export PATH="/opt/php56/bin:$PATH" |
| weinre --httpPort 8081 --boundHost -all- |
| $ sudo pico /etc/mysql/mysql.cnf | |
| [mysqld] | |
| federated | |
| $ service mysql restart |
| 'use strict'; | |
| angular.module('shared') | |
| .factory('$database', ['$q', '$migrations', 'DEBUG_DB', | |
| function ($q, $migrations, DEBUG_DB) { | |
| var Factory = function (config) { | |
| this.data = {}; | |
| this.data.name = 'db'; | |
| this.data.description = Factory.name; |
Códigos para forçar o frontend a se atualizar automáticamente quando uma nova versão está disponível.