diff --git a/README.md b/README.md index ee7ac068..e56da0d0 100644 --- a/README.md +++ b/README.md @@ -164,7 +164,7 @@ It is recommended to download a copy of the Red5 Pro Server in order to continuo 1. Download the latest Red5 Pro Server: [https://account.red5pro.com/download](https://account.red5pro.com/download) 2. Unzip the download into a location you prefer. For the purposes of my development, I simply added it to the same location as my local checkout of this repository, then added that to the __.gitignore__ file (_red5pro-server_). You can do the same if you prefer. - * If you decide to not download and unzip the Red5 Pro Server in this repository root, you will need to modify the location for `red5pro-server` in [settings.json](settings.json). + * If you decide to not download and unzip the Red5 Pro Server in this repository root, you will need to modify the location for `red5pro-server-local` in [settings.json](settings.json). 4. Start the Red5 Pro server: ``` @@ -184,7 +184,7 @@ To deploy a build of the pages to the local Red5 Pro Server: $ npm run deploy ``` -This command will run a new build and place the generated files in /webapps. +This command will run a new build and place the generated files in __webapps__. ### Watch _This build options requires you to have a Red5 Pro Server installed on your machine and its location defined in the [settings.json](settings.json) under the __red5pro-server__ param_ diff --git a/auto-deploy-config.js b/auto-deploy-config.js index 8d2242e1..ff785e4c 100644 --- a/auto-deploy-config.js +++ b/auto-deploy-config.js @@ -21,19 +21,19 @@ module.exports = { feature: { branch: '#target_feature_branch#', servers: [ - 'ec2-user@ec2-54-174-142-30.compute-1.amazonaws.com' + '#target_deployment_server#' ] }, staging: { branch: 'qa', servers: [ - 'ec2-user@ec2-54-174-142-30.compute-1.amazonaws.com', + '#target_deployment_server#', ] }, production: { branch: 'master', servers: [ - 'ec2-user@ec2-54-174-142-30.compute-1.amazonaws.com' + '#target_deployment_server#' ] } } diff --git a/gulpfile.js b/gulpfile.js index 509fcc01..1abe0b24 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -16,8 +16,8 @@ var srcDir = [process.cwd(), 'src'].join(path.sep); var distDir = [process.cwd(), 'dist'].join(path.sep); var scriptsDir = [process.cwd(), 'scripts'].join(path.sep); var webappBuildScriptDir = [scriptsDir, 'task', 'webapp'].join(path.sep); -var deployDir = nconf.get('red5pro-server') - ? [nconf.get('red5pro-server'), 'webapps'].join(path.sep) +var deployDir = nconf.get('red5pro-server-local') + ? [nconf.get('red5pro-server-local'), 'webapps'].join(path.sep) : [process.cwd(), 'red5pro-server', 'webapps'].join(path.sep); // Import build task diff --git a/settings.json b/settings.json index c6aaf7c7..118338cc 100644 --- a/settings.json +++ b/settings.json @@ -1,4 +1,4 @@ { "version": "UNKNOWN", - "red5pro-server": "red5pro-server" + "red5pro-server-local": "red5pro-server" }