From 608461499b4dc0071d20f27d8751c2c334f19a0a Mon Sep 17 00:00:00 2001 From: Aakarsh Gopi Date: Mon, 23 Oct 2017 00:28:58 -0400 Subject: [PATCH 1/2] Updated formatting --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 09075b7..28485da 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -###Provisioning Servers +### Provisioning Servers The main.js contains code to provision an ubuntu-14-04-x64 image from digitalocean's nyc server. In case of any issue occuring, and say if we arent able to provision from digitalocean, this code will call another module ec2_request.js's function runaws(). The runaws will basically create an instance and run it. -####INSTRUCTIONS +#### INSTRUCTIONS * Install required dependencies by `npm install`. * Add configuration token for Digital ocean at line 8 of main.js and uncomment it. * Also update sshkeys on line 24 of main.js for digital ocean @@ -11,7 +11,7 @@ The main.js contains code to provision an ubuntu-14-04-x64 image from digitaloce * Please create the credentials json file in same directory for aws code api to work properly. Please follow http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-json-file.html -####NOTE: +#### NOTE: * The IP address will be saved in 'output.txt' file. * After creating a droplet using digital ocean, please comment from line 56 to line 101. * To delete the droplet uncomment line 104 to 117 and edit droplet id on line 106. @@ -19,12 +19,12 @@ The main.js contains code to provision an ubuntu-14-04-x64 image from digitaloce References: http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/ec2-example-creating-an-instance.html -###Screencast +### Screencast Here's the link to screencast: http://screencast-o-matic.com/watch/cbVOVHQMpQ * Please use `node main.js` to run the script this way after following the first 3 instructions given above. -###Configuration Management +### Configuration Management All the dependencies are mentioned in packages.json file, therefore make sure to `npm install` in the directory to install necessary dependencies before running the js scripts. The required dependencies are as follows: From 0b4412040d0405f7c5c357c38482c3f13ba34d02 Mon Sep 17 00:00:00 2001 From: Aakarsh Gopi Date: Tue, 14 Nov 2017 17:49:11 -0500 Subject: [PATCH 2/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 28485da..72c780b 100644 --- a/README.md +++ b/README.md @@ -33,3 +33,4 @@ The required dependencies are as follows: * os * fs +Beauty