Magocloud setup - Mago-DACH-Hub/documentation GitHub Wiki

Magocloud

1. Setting up the magocloud

  1. Ask for a mago cloud account from microarea
  2. Download the cloud environment
  3. Unzip it
  4. Run development manager
  5. Log into your Microarea account (If you don't have one ask microarea for one)
  6. Click on manage subscription
  7. Click on subscription
  8. Fill in the parameters (Subscription description, Country, Provider, Server, (SQL)Login, (SQL)Password)
  9. Test the connection and configure
  10. If wanted you can import sample data by clicking on import data
  11. Choose Sample Data and click ``Import```
  12. After that you can close the window and return to the man window and click Run and then Run 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

  1. Open Visual studio without any solution
  2. Open File and open the .cpp file that you want to debug (e.g.: C:\devmagocloud18\Standard\Applications\ERP\Contacts\Documents\DContacts.cpp)
  3. Insert your break point at the desired line
  4. Go to Debug->Attach to Process
  5. Select Attach to: Native
  6. Attach to TbServer.exe
If you don't have permissions to attach to the process start visual studio as administrator.