diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 51 |
1 files changed, 31 insertions, 20 deletions
@@ -8,35 +8,46 @@ | |||
8 | To run the Ninja Application you will need the following: | 8 | To run the Ninja Application you will need the following: |
9 | 9 | ||
10 | - The latest stable version of Chrome | 10 | - The latest stable version of Chrome |
11 | - 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 |
12 | 12 | ||
13 | ###Setup and Run Ninja as an unpackaged application | 13 | ###Setup and Run Ninja as an unpacked application |
14 | 14 | ||
15 | If you're already familiar with using Git, GitHub, and how to configure a local web server, | 15 | If 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. |
16 | 16 | ||
17 | 1. Download Ninja Local Cloud: Win: get Ninja Local Cloud.exe from the Ninja CRX posted soon. | 17 | 1. Download Ninja Local Cloud: Win: download Ninja Local Cloud app from the Ninja CRX on Chrome webstore, https://chrome.google.com/webstore/detail/jjdndclgmfdgpiccmlamlicfjmkognne |
18 | 2. Launch Ninja Local Cloud. On Mac, click Allow when asked to accept incoming network connection. | 18 | 2. Launch Ninja Local Cloud. On Mac, click Allow when asked to accept incoming network connection. |
19 | 3. Click Copy button to copy the Ninja Local Cloud URL. | 19 | 3. In the Chrome browser, go to chrome://chrome/extensions/ |
20 | 4. Launch your cloned master branch. | 20 | 4. Turn on Developer mode. |
21 | 5. You should get the Cloud Service Dialog. | 21 | 5. Load unpacked extension... and browse to your cloned master branch. |
22 | 6. Paste in the Ninja Local Cloud URL that you copied in step 3. | 22 | 6. Copy Ninja app ID from the Extensions page under the app name. |
23 | 7. Click the TEST button. It should still show Disconnected. | 23 | 7. On Windows: |
24 | 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. | ||
25 | 9. Copy the ID from the URL in the error text. | ||
26 | 10. On Windows: | ||
27 | Click Start menu icon and type regedit | 24 | Click Start menu icon and type regedit |
28 | 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 |
29 | Right click and select New > String value Type 'Local Ninja Origin' no quotes Double click on Local Ninja Origin and paste in the ID copied in step 9 in the Value data field. Close Registry Editor. | 26 | Right click and select New > String value |
30 | 11. On Mac: | 27 | Type 'Local Ninja Origin' no quotes |
28 | Double click on Local Ninja Origin and paste in the ID copied in step 6 in the Value data field. Close Registry Editor. | ||
29 | 8. On Mac: | ||
31 | Launch Finder. | 30 | Launch Finder. |
32 | Double click on /Library/Preferences/com.MotorolaMobility.Ninja-Local-Cloud.plist | 31 | Double click on /Library/Preferences/com.MotorolaMobility.Ninja-Local-Cloud.plist |
33 | Click on Add Child Type 'Local Ninja Origin' no quotes For value, paste in the URL copied in step 9. Save (File > Save or Cmd S) Close Property List Editor | 32 | Click on Add Child Type 'Local Ninja Origin' no quotes |
34 | 12. Quit Ninja Local Cloud | 33 | For value, paste in the ID copied in step 6. |
35 | 13. Launch Ninja Local Cloud | 34 | Save (File > Save or Cmd S) Close Property List Editor |
36 | 14. In Ninja, click Test again, you should see the green text that said "Connected to Ninja Local Cloud". | 35 | 9. Quit Ninja Local Cloud |
36 | 10. Launch Ninja Local Cloud | ||
37 | 11. Click Copy button to copy the Ninja Local Cloud URL. | ||
38 | 12. New tab in Chrome and launch the Ninja app. | ||
39 | 13. Paste in the Ninja Local Cloud URL that you copied in step 11 in the Cloud Service dialog. | ||
40 | 14. Click the TEST button, you should see the green text that said "Connected to Ninja Local Cloud". | ||
37 | 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. | 41 | 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. |
38 | 42 | ||
39 | 43 | ||
40 | ###Setup and Run Ninja as a packaged application | 44 | ###Setup and Run Ninja as a packaged application (from Chrome Webstore) |
41 | 45 | ||
42 | Coming soon... \ No newline at end of file | 46 | 1. Get Ninja Authoring Tool from Chrome Webstore, https://chrome.google.com/webstore/detail/jjdndclgmfdgpiccmlamlicfjmkognne or search for 'Ninja Authoring'. |
47 | 2. New tab in Chrome and launch the Ninja app. | ||
48 | 3. In the Cloud Service dialog, download the Ninja Local Cloud app. | ||
49 | 4. Launch Ninja Local Cloud | ||
50 | 5. Click Copy button to copy the Ninja Local Cloud URL. | ||
51 | 6. Paste in the Ninja Local Cloud URL that you copied in step 5 in the Cloud Service dialog. | ||
52 | 7. Click the TEST button, you should see the green text that said "Connected to Ninja Local Cloud". | ||
53 | 8. 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. | ||