Please make sure you followed the Build pre-requisites before using this document.
In order to build the actual app you need first to build all core files. This step is normally needed only once and after an update of the core files. This could be done with the following command:
npm run build-core
To only compile the Chrome app run the build script with the following command:
npm run build-chrome_app
The build version will be compiled in the genfiles/chrome_app
directory, together with all required packages and files.
For testing you can compile and run the Chrome app use the following command:
npm run chrome-app
This will automatically build and start the application on Mac OS, Linux or Windows, if supported.
Visit chrome://extensions
in your browser (or open up the Chrome menu by
clicking the icon to the far right of the Omnibox (three horizontal bars) and
select Extensions under the Tools menu to get to the same place).
Ensure that the Developer mode checkbox in the top right-hand corner is checked.
On the same page click Load unpacked extension…
to pop up a file-selection
dialog.
Navigate to the directory in which your genfiles/chrome_app
files live, and select it.
Alternatively, you can drag and drop the directory where your genfiles/chrome_app
files
live onto chrome://extensions in your browser to load it.
On the same page click Launch
next to Coding with Chrome
or visit
chrome://apps
in your browser and click on the Coding with Chrome
icon.