Magocloud setup - Mago-DACH-Hub/documentation GitHub Wiki
Magocloud
1. Setting up the magocloud
- Ask for a mago cloud account from microarea
- Download the cloud environment
- Unzip it
- Run development manager
- Log into your Microarea account (If you don't have one ask microarea for one)
- Click on manage subscription
- Click on subscription
- Fill in the parameters (Subscription description, Country, Provider, Server, (SQL)Login, (SQL)Password)
- Test the connection and configure
- If wanted you can import sample data by clicking on
import data
- Choose
Sample Data
and click ``Import``` - After that you can close the window and return to the man window and click
Run
and thenRun all
This will generate the user interface and run the program
If you get a failure during login:
Make sure you have "scoop" insalled and make sure you installed "go" and "traefik" with scoop
You can do that by typing
scoop install go
scoop install traefik
2. Compiling a plugin for mago cloud
Compiling a plugin for mago cloud is almost the same as compiling one for the Desktop version.
It's important to put the architecture to x64 before compiling everything since mago cloud is x64.
Important for mago cloud is the Fragments folder.
The rest is mostly the same for both versions Desktop and Cloud.
There are differences between Desktop and Cloud though. These differences in development need to be documented at a later date.
3. Debugging the cloud application
- Open Visual studio without any solution
- Open File and open the .cpp file that you want to debug (e.g.:
C:\devmagocloud18\Standard\Applications\ERP\Contacts\Documents\DContacts.cpp
) - Insert your break point at the desired line
- Go to
Debug->Attach to Process
- Select
Attach to: Native
- Attach to
TbServer.exe
If you don't have permissions to attach to the process start visual studio as administrator.