Skip to content

Commit

Permalink
changed references to local red5pro-server deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
bustardcelly committed Feb 9, 2016
1 parent e7a22d8 commit 17bff27
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```
Expand All @@ -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_
Expand Down
6 changes: 3 additions & 3 deletions auto-deploy-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ module.exports = {
feature: {
branch: '#target_feature_branch#',
servers: [
'[email protected]'
'#target_deployment_server#'
]
},
staging: {
branch: 'qa',
servers: [
'[email protected]',
'#target_deployment_server#',
]
},
production: {
branch: 'master',
servers: [
'[email protected]'
'#target_deployment_server#'
]
}
}
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "UNKNOWN",
"red5pro-server": "red5pro-server"
"red5pro-server-local": "red5pro-server"
}

0 comments on commit 17bff27

Please sign in to comment.