I am a newbie to microsoft azure server ,I've created a basic app in angular 7 with nodeJS as backend language ,Now i want to deploy that app but i can't setup angular7 enivronment.
i've tried to install angular cli via bash but its not working for me ,my npm version is 5.6.0 and nodejs version on azure cloud is 8.9.4
I get the following error
Related
I'm trying to deploy an ASP.NET Core Web API into an IIS site in windows 2012 server, I've installed IIS from 0 and when I deploy the app and test a petition with Postman I get the 500.32 error.
I've already installed the .NET Core hosting bundle v 6.0.14 also I've configured the application pool to no managed code and I restarted all the services including the IIS.
Restarted the server isn't an option because I can't get physical access to the server, I'm working from a remote location
This is my dotnet --info
I'm trying to deploy an ASP.NET Core 6 Web API.
I've already done:
Compile and publish the API
Installed the is
Create a site and application to deploy the API
Paste the files from the publish folder to the site folder
Installed the netcore hosting bundle
The problem was in the compilation and publish process.
i had to add the check for Ready to run in the publish configurations, i put that and solved the issue
I have developed an application using ionic for the frontend and laravel for the backend ... now I wish I could see it running on my phone, but I don't know what I need to buy as hosting and database, which files should I upload etc ... any help?
php version: 7.4.1
laravel framework: 8.78.1
phpmyadmin: 5.0.1
mariaDB: 10.4.11
mysql: 7.4.1
I see two questions:
How to try the app on your phone:
When you build an App, you can read here about how to deploy it to your phone by e.g. transferring an APK to your Android phone. To install the APK, you have to enable the developer-features in your phone's settings.
How to host the Laravel backend (to try it with your app):
You could use your local development environment. E.g. when your laptop with your laravel backend running and your phone are in the same Wifi-Network, you just need to expose the project to the network so that the app on you phone can reach it.
Hosting it on a public server would require you to have a domain. The server has to meet the needs of your project. You have to look for the correct php-version, php extensions, etc (Laravel Docs on Server requirements). For a small project, most shared-hosting servers with ssh-access and MySql database would fit. You could put some more effort by choosing a server from digital ocean, where a droplet is just a few bucks but you have to do all the configuration by yourself.
Hope that helps!
For running it on mobile you could use capacitor with ionic Capacitor
I have a next.js app which im developing locally right now on development environment. Im calling on npm run dev my server and im running prisma studio with "dev": "next dev -p 3006 & npx prisma studio -p 3007",
Im wondering how I can access prisma studio if my next.js app is already deployed on heroku for example. Prisma provides a guide about deploying to heroku, but there it is not mentioned how to access the database via prisma studio after deployment.
https://www.prisma.io/docs/guides/deployment/deployment-guides/deploying-to-heroku
Does anybody have some experience here?
You can use Prisma Data Platform to access Prisma studio for your deployed Heroku application.
The feature is called Data Browser. It can be used to view and edit your application data.
You can invite collaborators and can also provide read/write permissions for your data.
We have a PHP app on IBM Cloud connected to an instance of DB2 (also on IBM Cloud) that has been working flawlessly for 2 years
Up until Sept 16th, we used the https://github.com/ibmdb/php-buildpack buildbpack with our PHP app (so that it could connect to DB2 via the db2_connect PHP function.)
Now after the cflinuxfs3 upgrade that buildpack does not work and we are forced to use the
" "php_buildpack" community buildpack already installed in Cloud Foundry".
however, This new buildpack does not support DB2 connections. When trying to use this buildpack I run a log I find this error :
"undefined function : db2_connect()".
We are currently using an older buildpack:
https://github.com/ibmdb/db2heroku-buildpack-php
this one DOES support connections to DB2 but it make the app VERY slow. A simple www page will load up to 60 seconds. We used this buildpack up until some 18 months ago, until they changed something on IBM Cloud and the heroku buiildpack staterd working very slow.... and we were told by support to use the one I mentioned at the begining. So, does anyone know WHY the heroku build pack works so slow or better yet is there a way to config your IBM Cloud account so that the heroku buildpack works normally?
I am trying to learn how to move an application from on-prem to Cloud (Azure). I have an existing application (PHP, Laravel, MySQL) which is hosted on IIS. Following this tutorial, I was able to create a VM and install LAMP stack on the VM. The last part of the article uses a Wordpress app. But I would like to use the existing custom app I have built. It resides in a repository on Azure DevOps (formerly known as VSTS).
How do I deploy my web app on to the new VM ? I still don't fully understand the infrastructure but I would to learn through this POC.
I believe you have already installed the below dependency and your VM is up and running.
Create an Ubuntu VM (the 'L' in the LAMP stack)
Open port 80 for web traffic
Install Apache, MySQL, and PHP
Verify installation and configuration
Install WordPress on the LAMP server
After this you can actually use Azure devops CI feature to deploy your custom website in the azure vm like you are doing it in on-prem.
If you have some script to deploy, you can create a Azure devops CI/CD pipeline and call the script to deploy it. It has a direct feature to deploy it from code repository.
Azure DevOps Projects presents a simplified experience where you can bring your existing code and Git repo or choose a sample application to create a continuous integration (CI) and continuous delivery (CD) pipeline to Azure.
DevOps Projects also:
Automatically creates Azure resources, such as a new Azure virtual machine (VM).
Creates and configures a release pipeline in Azure DevOps that includes a build pipeline for CI.
Sets up a release pipeline for CD.
Hope it helps.