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
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:
Login in test from local
Login as usual with your prod credentials
Then navigate to oasis-ds-api.masivapp.com
Then change the name of the mapp-Ukashdk
cookie to mapp-U2FsdGVkX1+ZoRvwwFlYfofzwk7NUVBBZ/Va2Kw0z/tXaU6IvAk3FDeUUfJfaLjp
IMPORTANT! Remove the HttpOnly
check for the mapp-U2FsdGVkX1+ZoRvwwFlYfofzwk7NUVBBZ/Va2Kw0z/tXaU6IvAk3FDeUUfJfaLjp
and mapp-session
cookies