Starting the orchestrator

Make sure you’ve already registered the app in the orchestrator

<!-- Add your organization's prod import map URL to this script's src  -->

  <% if (isLocal) { %>
  <script type="systemjs-importmap" crossorigin="anonymous">
    {
      "imports": {
        ...
				// You should type in your app name as in the example
        "@masivapp/masivapp-whatsapp": "//localhost:8080/js/app.js" 
      }
    }
  </script>

Then run npm start at the Orchestrator location

Create the local session

If you want to run your product locally, maybe you may want to get the session cookies to be able to enter your SPA views. To do so, you should proceed as following depending on the environment you want your local execution:

Labs

  1. Go to **https://init.oceanplatform-labs.com/login**
  2. Login as usual with your labs credentials
  3. Then navigate to **https://labs-frontend.masivianlabs.com/ops/local-session**
  4. Follow the instructions
  5. There you go!

Test

Login in test from local

  1. Go to **https://init.oceanplatform.io/login**

  2. Login as usual with your prod credentials

  3. Then navigate to oasis-ds-api.masivapp.com

  4. Then change the name of the mapp-Ukashdk cookie to mapp-U2FsdGVkX1+ZoRvwwFlYfofzwk7NUVBBZ/Va2Kw0z/tXaU6IvAk3FDeUUfJfaLjp

    image.png

  5. IMPORTANT! Remove the HttpOnly check for the mapp-U2FsdGVkX1+ZoRvwwFlYfofzwk7NUVBBZ/Va2Kw0z/tXaU6IvAk3FDeUUfJfaLjp and mapp-session cookies

    image.png