diff options
-rw-r--r-- | README.md | 58 |
1 files changed, 12 insertions, 46 deletions
@@ -1,55 +1,21 @@ | |||
1 | ## Ninja | 1 | ## Ninja |
2 | 2 | ||
3 | ... | 3 | Ninja Authoring Tool fixed for Linux. |
4 | -------- | 4 | Can be used on all platforms with Ninja Go Local Cloud (https://pacien.net/projects/ninja-go-local-cloud/files). |
5 | |||
6 | ###Prerequisites | ||
7 | |||
8 | To run the Ninja Application you will need the following: | ||
9 | |||
10 | - The latest stable version of Chrome | ||
11 | - Ninja can be run in either a Chrome unpacked application or packed application (.crx). Instructions below | ||
12 | 5 | ||
13 | ###Setup and Run Ninja as an unpacked application | 6 | ###Setup and Run Ninja as an unpacked application |
14 | 7 | ||
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. | 8 | 1. Download Ninja: https://github.com/Pacien/ninja/zipball/master |
16 | 9 | 2. Unzip the downloaded archive. | |
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. | ||
19 | 3. In the Chrome browser, go to chrome://chrome/extensions/ | 10 | 3. In the Chrome browser, go to chrome://chrome/extensions/ |
20 | 4. Turn on Developer mode. | 11 | 4. Turn on Developer mode. |
21 | 5. Load unpacked extension... and browse to your cloned master branch. | 12 | 5. Load unpacked extension... and browse to the extracted directory. |
22 | 6. Copy Ninja app ID from the Extensions page under the app name. | ||
23 | 7. On Windows: | ||
24 | - Click Start menu icon and type regedit. | ||
25 | - Browse to HKEY_CURRENT_USER/Software/Motorola Mobility/Ninja Local Cloud/Options. | ||
26 | - Right click and select New > String value. | ||
27 | - Type 'Local Ninja Origin' no quotes. | ||
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. To have multiple builds of Ninja installed but not running simultaneously as this is not supported, multiple app IDs can be added separated by comma and no space. | ||
29 | - Close Registry Editor. | ||
30 | 8. On Mac: | ||
31 | - Launch Finder. | ||
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 | ||
33 | - Click on Add Child Type 'Local Ninja Origin' no quotes. | ||
34 | - For value, paste in the Ninja app ID copied in step 6 from the Chrome extensions page. To have multiple builds of Ninja installed but not running simultaneously as this is not supported, multiple app IDs can be added separated by comma and no space. | ||
35 | - Save (File > Save or Cmd S). | ||
36 | - Close Property List Editor. | ||
37 | 9. Quit Ninja Local Cloud | ||
38 | 10. Launch Ninja Local Cloud | ||
39 | 11. Click Copy button to copy the Ninja Local Cloud URL. | ||
40 | 12. New tab in Chrome and launch the Ninja app. | ||
41 | 13. Paste in the Ninja Local Cloud URL that you copied in step 11 in the Cloud Service dialog in Ninja. | ||
42 | 14. Click the TEST button, you should see the green text that said "Connected to Ninja Local Cloud". | ||
43 | 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. | ||
44 | |||
45 | 13 | ||
46 | ###Setup and Run Ninja as a packaged application (from Chrome Webstore) | 14 | ###Launch Ninja Go Local Cloud |
47 | 15 | ||
48 | 1. Get Ninja Authoring Tool from Chrome Webstore, https://chrome.google.com/webstore/detail/jjdndclgmfdgpiccmlamlicfjmkognne or search for 'Ninja Authoring'. | 16 | 1. Download Ninja Go Local Cloud for your OS: https://pacien.net/projects/ninja-go-local-cloud/files |
49 | 2. New tab in Chrome and launch the Ninja app. | 17 | 2. Execute the binary. |
50 | 3. In the Cloud Service dialog, download the Ninja Local Cloud app. | 18 | 3. New tab in Chrome and launch the Ninja app. |
51 | 4. Launch Ninja Local Cloud | 19 | 4. Put in the Ninja Local Cloud URL: http://localhost:58080 |
52 | 5. Click Copy button to copy the Ninja Local Cloud URL. | 20 | 5. Click the TEST button, you should see the green text that said "Connected to Ninja Go Local Cloud". |
53 | 6. Paste in the Ninja Local Cloud URL that you copied in step 5 in the Cloud Service dialog in Ninja. | 21 | 6. 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 inside the "Ninja" folder in the folder where the binary is executed. As long as Ninja Go Local Cloud is running, you will not see the Cloud Service Dialog next time you launch. |
54 | 7. Click the TEST button, you should see the green text that said "Connected to Ninja Local Cloud". | ||
55 | 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. | ||