aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-07-11 10:40:08 -0700
committerJose Antonio Marquez2012-07-11 10:40:08 -0700
commit6bc6b70c44e0e51cdedf1258e99addf3ee02d557 (patch)
tree65797202579dcf1d80c1129d27bcaf9e2568633b
parent7d42a17a67eaec57e78f5fa730c1481515904a44 (diff)
parent688e22dc367f37d4b8734a37daa3b823ea450295 (diff)
downloadninja-6bc6b70c44e0e51cdedf1258e99addf3ee02d557.tar.gz
Merge branch 'refs/heads/Ninja-Master' into Color
-rw-r--r--README.md61
-rwxr-xr-xindex.html2
-rw-r--r--manifest.json6
-rw-r--r--ninja_icon_16.pngbin0 -> 506 bytes
4 files changed, 35 insertions, 34 deletions
diff --git a/README.md b/README.md
index c5ecd429..ada4ce7e 100644
--- a/README.md
+++ b/README.md
@@ -7,46 +7,47 @@
7 7
8To run the Ninja Application you will need the following: 8To run the Ninja Application you will need the following:
9 9
10- Be able to access the Motorola internal network, using the blue port or VPN
11- The latest stable version of Chrome 10- The latest stable version of Chrome
12- Ninja can be run in either a Chrome unpackaged application or packaged application (.crx). Instructions below 11- Ninja can be run in either a Chrome unpacked application or packed application (.crx). Instructions below
13 12
14###Setup and Run Ninja as an unpackaged application 13###Setup and Run Ninja as an unpacked application
15 14
16If you're already familiar with using Git, GitHub, and how to configure a local web server, 15If you're already familiar with using Git, GitHub, you can clone master branch or download the source zip file. To use the stable branch, select V0.7.0 branch.
17 16
181. Download Ninja Local Cloud: 171. Download Ninja Local Cloud: Win: download Ninja Local Cloud app from the Ninja CRX on Chrome webstore, https://chrome.google.com/webstore/detail/jjdndclgmfdgpiccmlamlicfjmkognne
19 Win: get Ninja Local Cloud.exe from \\ninjateam.am.mot.com\users\jmayhew\Ninja Local Cloud,
20 Mac: get Ninja Local Cloud.app from smb://ninjateam.am.mot.com/users/jmayhew/Ninja Local Cloud
212. Launch Ninja Local Cloud. On Mac, click Allow when asked to accept incoming network connection. 182. Launch Ninja Local Cloud. On Mac, click Allow when asked to accept incoming network connection.
223. Click Copy button to copy the Ninja Local Cloud URL. 193. In the Chrome browser, go to chrome://chrome/extensions/
234. Launch your cloned master branch. 204. Turn on Developer mode.
245. You should get the Cloud Service Dialog. 215. Load unpacked extension... and browse to your cloned master branch.
256. Paste in the Ninja Local Cloud URL that you copied in step 3. 226. Copy Ninja app ID from the Extensions page under the app name.
267. Click the TEST button. It should still show Disconnected. 237. On Windows:
278. In the Ninja Local Cloud app, click on Advanced button, you should see an error that it ignores the url where you run Ninja. If you don't any text when clicking Test, there's no connection established between Ninja and Ninja Local Cloud, you probably did not click Allow the incoming connection, or check your network connection, try public network instead of DSA, disconnect from VPN, etc.
289. Copy the URL in the error text, this is also the URL of where you run your Ninja build, something like http://localhost:9080 on Windows or http://yourmachinename.am.mot.com on Mac
2910. On Windows:
30 Click Start menu icon and type regedit 24 Click Start menu icon and type regedit
31 Browse to HKEY_CURRENT_USER/Software/Motorola Mobility/Ninja Local Cloud/Options 25 Browse to HKEY_CURRENT_USER/Software/Motorola Mobility/Ninja Local Cloud/Options
32 Right click and select New > String value 26 Right click and select New > String value
33 Type 'Local Ninja Origin' no quotes 27 Type 'Local Ninja Origin' no quotes
34 Double click on Local Ninja Origin and paste in the URL copied in step 10 in the Value data field. 28 Double click on Local Ninja Origin and paste in the ID copied in step 6 in the Value data field. Close Registry Editor.
35 Close Registry Editor. 298. On Mac:
36
3711. On Mac:
38 Launch Finder. 30 Launch Finder.
39 Double click on <yourusername>/Library/Preferences/com.MotorolaMobility.Ninja-Local-Cloud.plist 31 Double click on /Library/Preferences/com.MotorolaMobility.Ninja-Local-Cloud.plist
40 Click on Add Child 32 Click on Add Child Type 'Local Ninja Origin' no quotes
41 Type 'Local Ninja Origin' no quotes 33 For value, paste in the ID copied in step 6.
42 For value, paste in the URL copied in step 10. 34 Save (File > Save or Cmd S) Close Property List Editor
43 Save (File > Save or Cmd S) 359. Quit Ninja Local Cloud
44 Close Property List Editor 3610. Launch Ninja Local Cloud
4512. Quit Ninja Local Cloud 3711. Click Copy button to copy the Ninja Local Cloud URL.
4613. Launch Ninja Local Cloud 3812. New tab in Chrome and launch the Ninja app.
4714. In Ninja, click Test again, you should see the green text that said "Connected to Ninja Local Cloud". 3913. Paste in the Ninja Local Cloud URL that you copied in step 11 in the Cloud Service dialog in Ninja.
4014. Click the TEST button, you should see the green text that said "Connected to Ninja Local Cloud".
4815. Ninja is opened with no document. You should be able to do File > New File and select Basic HTML, give it a name and click browse to the directory. By default, files will be saved in Ninja Projects folder in user documents. As long as Ninja Local Cloud is running, you will not see the Cloud Service Dialog next time you launch. 4115. Ninja is opened with no document. You should be able to do File > New File and select Basic HTML, give it a name and click browse to the directory. By default, files will be saved in Ninja Projects folder in user documents. As long as Ninja Local Cloud is running, you will not see the Cloud Service Dialog next time you launch.
49 42
50 43
51###Setup and Run Ninja as a packaged application 44###Setup and Run Ninja as a packaged application (from Chrome Webstore)
52 45
461. Get Ninja Authoring Tool from Chrome Webstore, https://chrome.google.com/webstore/detail/jjdndclgmfdgpiccmlamlicfjmkognne or search for 'Ninja Authoring'.
472. New tab in Chrome and launch the Ninja app.
483. In the Cloud Service dialog, download the Ninja Local Cloud app.
494. Launch Ninja Local Cloud
505. Click Copy button to copy the Ninja Local Cloud URL.
516. Paste in the Ninja Local Cloud URL that you copied in step 5 in the Cloud Service dialog in Ninja.
527. Click the TEST button, you should see the green text that said "Connected to Ninja Local Cloud".
538. Ninja is opened with no document. You should be able to do File > New File and select Basic HTML, give it a name and click browse to the directory. By default, files will be saved in Ninja Projects folder in user documents. As long as Ninja Local Cloud is running, you will not see the Cloud Service Dialog next time you launch.
diff --git a/index.html b/index.html
index 58457120..6058408d 100755
--- a/index.html
+++ b/index.html
@@ -34,7 +34,7 @@ POSSIBILITY OF SUCH DAMAGE.
34 34
35 <head lang="en"> 35 <head lang="en">
36 36
37 <title>Motorola Ninja</title> 37 <title>Ninja</title>
38 38
39 <meta charset="utf-8"/> 39 <meta charset="utf-8"/>
40 <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> 40 <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
diff --git a/manifest.json b/manifest.json
index c2dc6a3d..331fd1f8 100644
--- a/manifest.json
+++ b/manifest.json
@@ -8,6 +8,7 @@
8 } 8 }
9 }, 9 },
10 "icons": { 10 "icons": {
11 "16": "ninja_icon_16.png",
11 "128": "ninja_icon_128.png" 12 "128": "ninja_icon_128.png"
12 }, 13 },
13 "permissions": [ 14 "permissions": [
@@ -15,7 +16,7 @@
15 "notifications", 16 "notifications",
16 "webRequest", 17 "webRequest",
17 "webRequestBlocking", 18 "webRequestBlocking",
18 "http://ninja/*", 19 "http://tetsubo.org/*",
19 "clipboardRead", 20 "clipboardRead",
20 "clipboardWrite" 21 "clipboardWrite"
21 ], 22 ],
@@ -25,6 +26,5 @@
25 } 26 }
26 }, 27 },
27 "minimum_chrome_version": "20.0.1132.47", 28 "minimum_chrome_version": "20.0.1132.47",
28 "offline_enabled": true, 29 "offline_enabled": true
29 "update_url": "http://ninjateam.am.mot.com/NinjaApp/update.xml"
30} \ No newline at end of file 30} \ No newline at end of file
diff --git a/ninja_icon_16.png b/ninja_icon_16.png
new file mode 100644
index 00000000..236e9365
--- /dev/null
+++ b/ninja_icon_16.png
Binary files differ