We have developed an web application using the angular 6 and uploading it manually using the adamos --> "Add application" option in administration Page.
We want to automate the process of building & deploying the application to the adamos.
Currently we are using Azure devOps, for building the angular App and creating a dist folder. Now how do i automate the process of uploading my web app in adamos.
Please let me know, any possibility is there now?
Thanks
Not knowing the Azure devOps you usually use the CLI provided by Cumulocity (via npm) for build & deploy. That is usually also the approach for other CI like Jenkins.
The deploy process itself is just containing REST calls (like the UI also does). So that part you could do also easily without the CLI tool.
Related
I have .net core web application developed in VS 2019 already running in Azure. I installed the VS 2019 in a new system and opened the solution. When I am trying to publish (may be after a simple code change) the application using Visual Studio. The window that is coming up having 3 options to publish. Regarding these options, what is the difference, and when to use what?
Below is the screenshot, options highlighted in red. Create New is for complete new deployment, as per my understanding. However, I'm not able to clearly get, "select Existing" versus "import profile" and when to use what?
Can you download the publish profile from the azure portal for the service in question and reimport it?
The window that is coming up having 3 options to publish. Regarding these options, what is the difference, and when to use what?
1.Create New option enables us to create a new App Service, create or use an existing App Service plan (Hosting Plan) and Resource group within your specific subscription, like below.
If you do not have any existing App Services that you create through Azure portal or VS etc, you can use this option to create a new one before you publish your project.
2.Select Existing option enables us to search and select existing App Services from specific subscription and Resource group.
If you'd like to publish your project to an existing App Service, you can use this option.
3.Import Profile... option provides a way to import publish settings that we got from Azure portal as below and then deploy our app.
Sometimes, developer does not sign in with same account (create Azure App Service etc resources using this account) in Visual Studio, to deploy app to an existing App Service, we can use this option and import a publish settings file.
I'm building an embedded shopify app and I struggle to test it as embedded app because it's veeeery slow. I started my app following the official guide of creating an app with node & nextjs and I'm still using both but i'm considering getting rid of nextjs and using just react since it feels veeery slow and so heavy for ngrok to transfer all the files to the shopify iframe...
What would you recommend to work smoothly with shopify when building an embedded app?
(I'm mostly working locally but I still need to often go check that it works well inside the admin & to use shopify-app-bridge library)
if ngrok is slow for you, i would suggest heroku for deployment and testing,
create new application at heroku, you can also connect it with your github and use automatic deploy when you push your code
I am trying to create Team projects using REST APIs. I have followed the Link:
I am able to create the project just like we can using the web portal.
I am trying to create a project which has SharePoint and Reporting integration, which is not in case of web portal and REST API as far as I know.
Need suggestion on ways of achieving the same with automation.
It doesn't support to create a team project using API with Reporting service and Sharepoint site. The only way is using Visual Studio/Team Explorer to create.
Maybe you could run the tfpt addprojectreports command in your code to configure reports for your new team project of TFS 2015. And use tfpt addprojectportal command to configure Sharepoint in your code. To use these command, you need to install TFS Power Tool.
In my project I'm using Rotativa.dll to generate my PDF reports, it turns out that running the project locally everything works fine, but when I publish my site on Azure WebSites'm not getting. How do I publish an executable file in Azure?
Is there some setting for this?
You can publish any executable you want to an azure site. There is no limitation on the type of assembly you publish.
However there are some APIs that you can't call from an Azure Website for example GDI APIs.
I am not familiar with Rotativa.dll but since you say it's for PDF processing there is a very good chance it's using GDI APIs.
We are developing a Dynamic Web project using RAD which will run on WAS 7.0. We have configured WAS 7.0 within RAD to run the application directly from RAD. We also have
a web server setup and we need the static files in our Dynamic Web project to be served from Web server.
Unfortunately when we run the application from RAD, it doesn't add the information in plugin.xml file of web server. So we checked this in <WebApplication_Name>/Manage Modules section
in WAS Admin console. We are not able specify the web server target also there.
Is there anything that we can do to tell RAD to publish the application both to WAS and IHS? Could you please assist?
I am afraid this cannot be done using the RAD IDE out-of-the-box, as it just publishes your appication to WAS.
A solution to this would be to build and publish the application using a tool like Ant and place in your build script an extra step to appropriately change the plugin-cfg file.