A generator for Yeoman.
Read more about Wix Application development in official develpment guide.
Install yeoman:
$ sudo npm install -g yo
To install generator-angular-wixapp from npm, run:
$ sudo npm install -g generator-angular-wixapp
Finally, initiate the generator:
$ mkdir wixapp
$ cd wixapp
$ yo angular-wixapp
After app is generated run:
$ grunt serve
Now you should see the app in your browser at http://localhost:9000
Start unit tests server that will rerun tests on each change:
$ grunt test
Or you can run unit tests only once:
$ grunt karma:singlerun
In order to run e2e tests first you have to install protractor. Then run:
$ protractor protractor-conf.js
Building:
$ grunt build
This command will build your app do dist directory.