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
## Proposta para colunas customizáveis | |
default_keys: status,system,instances,hostname,instances-ports,provisioned,image | |
Options: | |
--table : Imprime em formato tabela | |
--text : Imprime em formato tabela sem bordas |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
/** | |
* Documentation: http://docs.azk.io/Azkfile.js | |
*/ | |
// Adds the systems that shape your system | |
systems({ | |
umrum: { | |
// Dependent systems | |
depends: [], | |
// More images: http://images.azk.io |
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
$ azk init | |
azk: `node` system was detected at '/Users/gullitmiranda/www/umrum' as 'umrum' | |
azk: 'Azkfile.js' generated | |
Tip: | |
Adds the `.azk` in .gitignore | |
echo '.azk' >> .gitignore | |
$ echo ‘.azk’ >> .gitignore |
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
systems({ | |
umrum: { | |
// Dependent systems | |
depends: ["redis", "mongodb"], | |
// More images: http://images.azk.io | |
image: {"docker": "azukiapp/node"}, | |
// Steps to execute before running instances | |
provision: [ | |
"npm install", | |
"grunt compile" |
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
$ brew cask install virtualbox —appdir=/Applications | |
$ brew install azukiapp/azk/azk | |
# Check install | |
$ azk version | |
azk 0.9.2 |
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
/** | |
* Documentation: http://docs.azk.io/Azkfile.js | |
*/ | |
systems({ | |
"msmm-front": { | |
depends: [ | |
'msmm-api' | |
], | |
image: { docker: "azukiapp/ruby:2.1"}, | |
provision: [ |
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
/** | |
* Documentation: http://docs.azk.io/Azkfile.js | |
*/ | |
// Adds the systems that shape your system | |
systems({ | |
feedbin: { | |
// Dependent systems | |
depends: ["redis", "postgres"], | |
// More images: http://images.azk.io |
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
/** | |
* Documentation: http://docs.azk.io/Azkfile.js | |
*/ | |
// Adds the systems that shape your system | |
systems({ | |
feedbin: { | |
// Dependent systems | |
depends: ["clock", "worker-slow", "worker", "redis", "postgres", "elasticsearch"], | |
// More images: http://images.azk.io |
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
/** | |
* Documentation: http://docs.azk.io/Azkfile.js | |
*/ | |
// Adds the systems that shape your system | |
systems({ | |
phpSample: { | |
// Dependent systems | |
depends: ["mysql"], | |
// More images: http://images.azk.io |