I'm looking for complete flow in creating an example of sandboxed extjs app.

I did that steps:

1. sencha generate app -ext MyApp /path/to/MyApp

2.1 change in : ${app.dir}/.sencha/app/sencha.cfg

build.concat.options=-sandbox=Ext5:x5-

2.2 change in : ${app.dir}/app.json

"theme": "ext-theme-classic-sandbox",

3. sencha app build (had an error)

[INF] Writing content to /opt/www/html/sales/sass/example/bootstrap.json
[INF] Writing content to /opt/www/html/sales/sass/example/bootstrap.js
[INF] Capturing theme image
[INF] Capture complete
[INF] Slicing images...
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.BasicException: Java heap space
[ERR] at com.sencha
[ERR] .cli.Command.dispatch(Command.java:43)
[ERR]
[ERR] Total time: 45 seconds
[ERR] The following error occurred while executing this line:
/opt/www/html/sales/.sencha/app/build-impl.xml:332: The following error occurred while executing this line:
/opt/www/html/sales/.sencha/app/slice-impl.xml:306: The following error occurred while executing this line:
/opt/www/html/sales/.sencha/app/slice-impl.xml:307: The following error occurred while executing this line:
/opt/www/html/sales/.sencha/app/slice-impl.xml:176: com.sencha.exceptions.BasicException: Java heap space

then I omit the slice operation : ${app.dir}/.sencha/app/build.properties
skip.slice=1
everything go ok here.

4. sencha web start
(did not show styles)
I do not see any style I'm using chrome browser 42.
Then I run the app manually : http://localhost/${app.dir}/build/production/${app.name}/
and have an error:

Uncaught TypeError: Cannot read property 'baseUrl' of undefinedapp.js?_dc=1429977080832:1 Ext.Loader.Ext.apply.initapp.js?_dc=1429977080832:1 (anonymous function)app.js?_dc=1429977080832:1 Ext5.Ext5app.js?_dc=1429977080832:1 (anonymous function)

And my questions are:
How can I run my compiled app (ready for production)?
Are the steps above corrects?