Bootstrap

The Vision tool can be used to scaffold 10.10.0 application code. It works by creating projects with a predefined template. Vision is not a dependency, but rather used as an accelerator.

For example:

Create a project with:

vision init myproject

Vision will create a myproject folder with a vision.json configuration file. Change to the myproject folder and initialise the 10100 plugin with the module name of your project in the form github.com/org/domain/subdomain...

cd myproject
vision 10100 init github.com/myorg/myapp

Generate the scaffolding code

vision 10100 generate

Vision will create a folder called myapp with the base 10.10.0 app. You can run the app with

cd myapp
make

You will be able to access the app at http://localhost:8080