Deploy an Application
2 minute read
After successfully setting up a connection to your Controller running Motorcortex, it is time to start using Motorcortex.io. If you don’t have a Motorcortex.io account yet make sure to request a Free trail. The following steps explain how to deploy a Motorcortex application to your Controller:
Prerequisites
- Laptop
- Motorcortex.io account
- Motorcortex Controller
Create a new project from a template
-
Login to your motorcortex.io account. If you don’t have a account yet make sure to to register for an account.
-
From you main projects page, select
project from store
. -
In the Store, select the
applications
category. -
Then select the application you would like to use as a template.
-
Once the project is created in your Projects view open the project.
Deploy packages to your controller
-
You will see different Packages inside the project. In general a Project has a
binary
Package, aconfig
Package and agrid
(user interface) Package. You need to deploy each of these packages to the controller. Lets start with the binary package. Select the binary package to open it . -
A binary package contains one or more .deb files (Debian Packages) that can be deployed to the controller. In the
ACTIONS
menu on the right side of the screen, press thedeploy
button.Note
Select the binary package that matches your hardware, either
ARM
orIntel
. -
Enter the IP address of the target system (the controller) to deploy the package to, e.g.
192.168.2.100
and Press thedeploy
button.Note
the current version of Motorcortex.io services use port 443 to deploy packages, if you are still running and old version of the Motorcortex services on your controller you will need to specify the old port like so:
192.168.2.100:9090
. -
Once the package is deployed navigate back to your Project view and select the
config
package. -
From inside the
config
Package, press thedeploy
button. -
Enter the IP address (the IP address should already be filled in automatically) of the target system (the controller) to deploy the package to, e.g.
192.168.2.100
and Press theinstall configuration
button. -
Navigate back to your Project view and select the
grid
package. -
From inside the
grid
Package, press thedeploy
button. -
Enter the IP address (the IP address should already be filled in automatically) of the target system (the controller) to deploy the package to, e.g.
192.168.2.100
and Press thedeploy grid
button.Note
In some cases you will be asked to update grid. Press
update grid
. -
Congratulations you have deployed your Motorcortex application.
The next step is to configure your EtherCAT devices. Configure