Starting an Application

Creating an Application

After you downloaded the Equo CLI and added it to your operating system path, you can create your first Equo application. Creating a new application is extremely simple. From the command line, execute the equo create command and the Equo CLI will manage the rest. The following command creates an empty Equo application (also known as blank starter) with a default template:

equo create application_name

The above command generates a basic application skeleton ready to be started and executed. You can import and open it in your favorite IDE. This is a great starting point to start developing an application.

Running an Application

If you have followed the steps until now you are ready to run the recently created application. If you want to run the Equo application from your IDE or editor, just run it as you normally do with any Java application, after all, an Equo application is still a Java application.

If you want to use the Equo CLI to run your application, type the following command:

equo run ./path_to_the_app_root_folder

That’s it, you have your first Equo application up and running! You may see that there are some menus and shortcuts already added for you. The code of those widgets can be seen in your auto-generated template in the main class of your application. Now, it’s time to start adding features to it.

For more information about the layout of an application see the structure of an application section.