This file contains hidden or 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
yo jhipster |
This file contains hidden or 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
<%_ if (databaseType == 'sql') { _%> | |
compile "org.hibernate:hibernate-core:${hibernate_entitymanager_version}" | |
compile("com.zaxxer:HikariCP") { | |
exclude(module: 'tools') | |
} | |
<%_ } _%> |
This file contains hidden or 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
? (12/15) Would you like to generate Terraform files? (Use arrow keys) | |
Yes | |
❯ No |
This file contains hidden or 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
{ | |
type: 'list', | |
name: 'terraform', | |
message: function (response) { | |
return getNumberedQuestion('Would you like to generate Terraform files?', true); | |
}, | |
choices: [ | |
{ | |
value: 'yes', | |
name: 'Yes' |
This file contains hidden or 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
writing: { | |
cleanupOldServerFiles: function() { | |
cleanup.cleanupOldServerFiles(this, this.javaDir, this.testDir); | |
}, | |
writeGlobalFiles: function () { | |
this.template('_README.md', 'README.md', this, {}); | |
this.copy('gitignore', '.gitignore'); | |
this.copy('gitattributes', '.gitattributes'); |
This file contains hidden or 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
resource "aws_autoscaling_group" "<%= dasherizedBaseName %>" { | |
launch_configuration = "${aws_launch_configuration.<%= dasherizedBaseName %>.id}" | |
availability_zones = ["${data.aws_availability_zones.all.names}"] | |
min_size = "${var.min_size}" | |
max_size = "${var.max_size}" | |
load_balancers = ["${aws_elb.<%= dasherizedBaseName %>.name}"] | |
health_check_type = "ELB" |
This file contains hidden or 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
yo jhipster |
This file contains hidden or 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
ansible-playbook -i ansible-inventory.ini provision-server-playbook.yml |
This file contains hidden or 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
--- | |
- name: Get Load Balancer Info | |
gather_facts: False | |
hosts: webservers | |
tasks: | |
- name: Retrieve Load Balancer Information | |
local_action: | |
module: rax_clb | |
name: '{{load_balancer_name}}' | |
port: 80 |
This file contains hidden or 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
[webservers] | |
localhost | |
[webservers:vars] | |
rackspace_image=project-name-$bamboo_buildResultKey | |
server_name=nodejs-AU-PSQA.cmx- | |
load_balancer_name=AT-PSQA-AU | |
instances_count=1 | |
rackspace_private_key_path=/home/bamboo/RackSpacePrivateKey.pk | |
rackspace_region=IAD |
NewerOlder