Skip to content

Commit

Permalink
rename all to CodePush
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoffrey Goh committed Oct 14, 2015
1 parent fbae60e commit bb9fc66
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Code Push
CodePush

Copyright (c) Microsoft Corporation

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Code Push
CodePush
===

Dev Setup
Expand Down
22 changes: 11 additions & 11 deletions cli/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
Code Push Command Line Interface (CLI)
CodePush Command Line Interface (CLI)
===

Dev Setup
---

* Install [Node.js](https://nodejs.org/)
* Install Code Push CLI: `npm install -g code-push`
* Install CodePush CLI: `npm install -g code-push`

Usage
---

* Get access to the code push webservice[TODO: Add link to code push service beta signup].
* Once you have access to the code push webservice use the following commands to create and publish updates to your app.
* Get access to the CodePush webservice[TODO: Add link to CodePush service beta signup].
* Once you have access to the CodePush webservice use the following commands to create and publish updates to your app.
```
code-push <command>
Expand All @@ -21,14 +21,14 @@ Usage
deploy Upload a new app version to a specific deployment
deployment Deployment commands
deployment-key Deployment key commands
login Authenticate this session with a specific code push server and registered account
login Authenticate this session with a specific CodePush server and registered account
logout Log out of the current session`
```

###Steps to create an app with code push service using code push CLI.
###Steps to create an app with CodePush service using the CodePush CLI.

####Login
* Login using your registered Github or Microsoft account with the code push service.
* Login using your registered Github or Microsoft account with the CodePush service.
* Run the following command and select the authentication provider with which to login to the service.
```
code-push login [serverUrl]
Expand All @@ -40,7 +40,7 @@ Usage
* Create an app for the service. Use the following commands to add/remove/view the apps.
```
code-push app add MyApp
This will create an app named 'MyApp' in code push service
This will create an app named 'MyApp' in CodePush service
code-push app --help
Commands:
Expand Down Expand Up @@ -72,7 +72,7 @@ Usage
```

####Get deployment key
* Every deployment has a primary deployment-key. You need this key to be used in your Cordova/React-Native Android/iOS apps to pull updates from the code push service.
* Every deployment has a primary deployment-key. You need this key to be used in your Cordova/React-Native Android/iOS apps to pull updates from the CodePush service.
* Make sure you get the correct deployment-key for the deployment to which you would be pushing your app updates.
```
code-push deployment-key list MyApp iOSDeployment
Expand All @@ -91,9 +91,9 @@ Usage
```

###Steps to publish updates to your apps
* Once you have configured apps with your code push service server url and deployment key use the following steps to publish updates to your cordova/react native apps.
* Once you have configured apps with your CodePush service server url and deployment key use the following steps to publish updates to your cordova/react native apps.
* Make sure you deploy the updates to the correct deployment for which you configured your apps.
* Use the deploy command to upload your updates to the code push service
* Use the deploy command to upload your updates to the CodePush service
```
code-push deploy <appName> <package> <minAppVersion> [--deploymentName <deploymentName>] [--description <description>] [--mandatory <true|false>]
Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "code-push-cli",
"version": "0.0.1",
"description": "Source code for the Code Push command line interface",
"description": "Source code for the CodePush command line interface",
"main": "script/cli.js",
"scripts": {
"test": "gulp test"
Expand Down
2 changes: 1 addition & 1 deletion cli/script/command-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ var argv = yargs.usage(USAGE_PREFIX + " <command>")
isValidCommand = true;
})
// Disabling this for closed beta
//.command("register", "Register a new account with a specific code push server", (yargs: yargs.Argv) => {
//.command("register", "Register a new account with a specific CodePush server", (yargs: yargs.Argv) => {
//isValidCommandCategory = true;
//isValidCommand = true;
//yargs.usage(USAGE_PREFIX + " register [serverUrl]")
Expand Down
2 changes: 1 addition & 1 deletion sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "code-push",
"version": "0.0.1",
"description": "Source code for the Code Push service SDK",
"description": "Source code for the CodePush service SDK",
"main": "script/index.js",
"scripts": {
"test": "gulp"
Expand Down
2 changes: 1 addition & 1 deletion sdk/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-code-push-acquisition" version="0.0.1-dev">
<name>CodePushAcquisition</name>
<description>Code Push Acquisition Plugin for Apache Cordova</description>
<description>CodePush Acquisition Plugin for Apache Cordova</description>
<license>Apache 2.0</license>
<keywords>cordova,code,push,acquisition</keywords>
<repo>https://github.com/Microsoft/code-push.git</repo>
Expand Down

0 comments on commit bb9fc66

Please sign in to comment.