aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md71
1 files changed, 37 insertions, 34 deletions
diff --git a/README.md b/README.md
index c5ecd429..286a99ae 100644
--- a/README.md
+++ b/README.md
@@ -7,46 +7,49 @@
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. 24 - Click Start menu icon and type regedit.
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 25 - Browse to HKEY_CURRENT_USER/Software/Motorola Mobility/Ninja Local Cloud/Options.
2910. On Windows: 26 - Right click and select New > String value.
30 Click Start menu icon and type regedit 27 - Type 'Local Ninja Origin' no quotes.
31 Browse to HKEY_CURRENT_USER/Software/Motorola Mobility/Ninja Local Cloud/Options 28 - Double click on Local Ninja Origin and paste in the Ninja app ID copied in step 6 from the Chrome extensions page in the Value data field.
32 Right click and select New > String value 29 - Close Registry Editor.
33 Type 'Local Ninja Origin' no quotes 308. On Mac:
34 Double click on Local Ninja Origin and paste in the URL copied in step 10 in the Value data field. 31 - Launch Finder.
35 Close Registry Editor. 32 - Double click on /Users/\<user\>/Library/Preferences/com.MotorolaMobility.Ninja-Local-Cloud.plist. Note: on Lion (10.7), user library folder is hidden by default. To browse to it, in Finder choose Go > Go to Folder and type ~/Library, or select Go menu with Alt (Option) key down to see Library listed in Go menu or make the user library folder permanently visible by running the following command in Terminal: chflags nohidden ~/Library
36 33 - Click on Add Child Type 'Local Ninja Origin' no quotes.
3711. On Mac: 34 - For value, paste in the Ninja app ID copied in step 6 from the Chrome extensions page.
38 Launch Finder. 35 - Save (File > Save or Cmd S).
39 Double click on <yourusername>/Library/Preferences/com.MotorolaMobility.Ninja-Local-Cloud.plist 36 - Close Property List Editor.
40 Click on Add Child 379. Quit Ninja Local Cloud
41 Type 'Local Ninja Origin' no quotes 3810. Launch Ninja Local Cloud
42 For value, paste in the URL copied in step 10. 3911. Click Copy button to copy the Ninja Local Cloud URL.
43 Save (File > Save or Cmd S) 4012. New tab in Chrome and launch the Ninja app.
44 Close Property List Editor 4113. Paste in the Ninja Local Cloud URL that you copied in step 11 in the Cloud Service dialog in Ninja.
4512. Quit Ninja Local Cloud 4214. Click the TEST button, you should see the green text that said "Connected to Ninja Local Cloud".
4613. Launch Ninja Local Cloud
4714. In Ninja, click Test again, 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. 4315. 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 44
50 45
51###Setup and Run Ninja as a packaged application 46###Setup and Run Ninja as a packaged application (from Chrome Webstore)
52 47
481. Get Ninja Authoring Tool from Chrome Webstore, https://chrome.google.com/webstore/detail/jjdndclgmfdgpiccmlamlicfjmkognne or search for 'Ninja Authoring'.
492. New tab in Chrome and launch the Ninja app.
503. In the Cloud Service dialog, download the Ninja Local Cloud app.
514. Launch Ninja Local Cloud
525. Click Copy button to copy the Ninja Local Cloud URL.
536. Paste in the Ninja Local Cloud URL that you copied in step 5 in the Cloud Service dialog in Ninja.
547. Click the TEST button, you should see the green text that said "Connected to Ninja Local Cloud".
558. 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.