- db:create creates the database for the current env
- db:create:all creates the databases for all envs
- db:drop drops the database for the current env
- db:drop:all drops the databases for all envs
- db:migrate runs migrations for the current env that have not run yet
- db:migrate:up runs one specific migration
- db:migrate:down rolls back one specific migration
- db:migrate:status shows current migration status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Programa: build.sh | |
# Autor: Vitor Britto | |
# | |
# Descrição: | |
# Este script será responsável pelo build do projeto, o qual | |
# fará o processo de minificação e concatenação dos arquivos | |
# e preparação dos arquivos a serem colocados em produção. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Programa: scaffolding.sh | |
# Autor: Vitor Britto | |
# | |
# Descrição: | |
# Este script será responsável pela criação | |
# de uma estrutura para novos projetos. | |
# |
Complete Guide / Isseus / Common Problems: https://github.com/Homebrew/homebrew-php
# Install PHP with PHP-FPM and excluding snmp
brew install -v homebrew/php/php56 --with-fpm --without-snmp
# Start by stopping the built-in Apache, if it's running, and prevent it from starting on boot.
# This is one of very few times you'll need to use sudo:
sudo launchctl unload /System/Library/LaunchDaemons/org.apache.httpd.plist 2>/dev/null
# We need to tap homebrew-dupes because "homebrew-apache/httpd22" relies on "homebrew-dupes/zlib"