Before you start creating an application, make sure you have the requirements already installed.
To create the application we will use the Devo Applications Builder CLI which will generate an example application based on a default template. This application will have the directory structure described above, which we will edit below.
- Using a terminal, go to the directory where you want to create the application.
- Run the command to create a new applicaction.
dab-cli create my-first-app
A new foder, called my-first-app
, has been created in the current directory.
By default, applications use a default template located in this
repository.
You can use a custom template to create your applications. To use yor custom template use
--template
flag.
To see this application running you need to compile it, log into your Devo domain and use the Devo Runner.
-
Compile the application.
dab-cli build dev
If every was ok, you should see something like the following image:
This will generate a new file (index.html) inside the my-first-app/dist folder.
-
Log into your Devo domain using Google Chrome browser.
-
Open the Devo Runner extension and select the index.html file. This will load the application.
App configuration
You will need to edit the /src/config.js
file, which contains basic information
about the application.
id
: an internal identification for the application.version
: the version of your application.autor
: the owner of the application.title
: the name of the application that will appear in the platform menu.
Now, you can customize the application adding more tabs and widgets.