Yeoman generator for Keboola Connection UI application
Based on generator-angular
Scaffolds new angular based application ready for deploy into Keboola Connection.
npm install -g yo generator-kbc-ui-app
Make a new directory, and
cd into it:
mkdir my-new-project && cd $_
Please follow these:
Note: Generators are to be run from the root directory of your app.
Sets up a new AngularJS app, generating all the boilerplate you need to get started. The app generator also optionally installs AngularJS modules, such as angular-resource.
Generates a controller and view, and configures a route in
app/scripts/app.js connecting them.
yo angular:route myroute
This is the myroute view
Generates a controller in
yo angular:controller user
Generates a directive in
yo angular:directive myDirective
Generates a filter in
yo angular:filter myFilter
Generates an HTML view file in
yo angular:view user
This is the user view
Generates an AngularJS service.
yo angular:service myService
You can also do
yo angular:value, and
yo angular:constant for other types of services.
Generates an AngularJS service decorator.
yo angular:decorator serviceName
To be able to deploy application to AWS S3 you have to provide AWS access keys.
aws-keys.json which is read by grunt:
The following packages are always installed by the app generator:
The following additional modules are available as components on bower, and installable via
All of these can be updated with
bower update as new versions of AngularJS are released.
Yeoman generated projects can be further tweaked according to your needs by modifying project files appropriately.
To be able to build generated project on Travis please follow these steps:
gem install travis
travis login- login using github credentials
travis enable- set up github travis webhook
travis encrypt AWS_ACCESS_KEY_ID=your_key --add
travis encrypt AWS_SECRET_ACCESS_KEY=your_secret --add