diff options
-rw-r--r-- | README | 0 | ||||
-rw-r--r-- | README.md | 52 |
2 files changed, 52 insertions, 0 deletions
diff --git a/README b/README deleted file mode 100644 index e69de29b..00000000 --- a/README +++ /dev/null | |||
diff --git a/README.md b/README.md new file mode 100644 index 00000000..647747a8 --- /dev/null +++ b/README.md | |||
@@ -0,0 +1,52 @@ | |||
1 | ## Ninja | ||
2 | |||
3 | ... | ||
4 | -------- | ||
5 | |||
6 | ###Prerequisites | ||
7 | |||
8 | To run the Ninja Application you will need the following: | ||
9 | |||
10 | - Be able to access the Motorola internal network, using the blue port or VPN | ||
11 | - The latest stable version of Chrome | ||
12 | - Ninja can be run in either a Chrome unpackaged application or packaged application (.crx). Instructions below | ||
13 | |||
14 | ###Setup and Run Ninja as an unpackaged application | ||
15 | |||
16 | If youÕre already familiar with using Git, GitHub, and how to configure a local web server, | ||
17 | |||
18 | 1. Download Ninja Local Cloud: | ||
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 | ||
21 | 2. Launch Ninja Local Cloud. On Mac, click Allow when asked to accept incoming network connection. | ||
22 | 3. Click Copy button to copy the Ninja Local Cloud URL. | ||
23 | 4. Launch your cloned master branch. | ||
24 | 5. You should get the Cloud Service Dialog. | ||
25 | 6. Paste in the Ninja Local Cloud URL that you copied in step 3. | ||
26 | 7. Click the TEST button. It should still show Disconnected. | ||
27 | 8. 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. | ||
28 | 9. 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 | ||
29 | 10. On Windows: | ||
30 | Click Start menu icon and type regedit | ||
31 | Browse to HKEY_CURRENT_USER/Software/Motorola Mobility/Ninja Local Cloud/Options | ||
32 | Right click and select New > String value | ||
33 | 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. | ||
35 | Close Registry Editor. | ||
36 | |||
37 | 11. On Mac: | ||
38 | Launch Finder. | ||
39 | Double click on <yourusername>/Library/Preferences/com.MotorolaMobility.Ninja-Local-Cloud.plist | ||
40 | Click on Add Child | ||
41 | Type 'Local Ninja Origin' no quotes | ||
42 | For value, paste in the URL copied in step 10. | ||
43 | Save (File > Save or Cmd S) | ||
44 | Close Property List Editor | ||
45 | 12. Quit Ninja Local Cloud | ||
46 | 13. Launch Ninja Local Cloud | ||
47 | 14. In Ninja, click Test again, you should see the green text that said "Connected to Ninja Local Cloud". | ||
48 | 15. 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 | |||
50 | |||
51 | ###Setup and Run Ninja as a packaged application | ||
52 | |||