Test/Development WordPress websites in Azure - wordpress

I am looking to stand-up a development/test WordPress website in Azure alongside our production site and am looking for any best practices I can find.
The idea is to keep the environments the same having both sites on the Azure PaaS but having different URL's to be able to access them. And having the databases be separate (to ensure we don't mess up anything in production)
Example...
Production -- http://companywebsite.com
Development -- http://test.companywebsite.com
Has anyone attempted something like this before? It would be fairly simple if the development was being done locally but we need multiple (non-developer) users to be able to access the WordPress admin panel on the test site and be able to install plugins and such to test.
Thanks in advance!

have you tried deployment slot?
When you deploy your web app to App Service, you can deploy to a
separate deployment slot instead of the default production slot when
running in the Standard or Premium App Service plan mode.
https://azure.microsoft.com/en-us/documentation/articles/web-sites-staged-publishing/
Update:
Seems like you can also config wordpress to aware of staging environment.
http://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/

Related

WordPress for Linux Web App is lost after enabling WEBSITES_ENABLE_APP_SERVICE_STORAGE

I installed Wordpress for Linux as an Azure WebApp. I set it up and installed a few plugins only to find out later that they were gone. A little investigation revealed that the storage in the container doesn't persist across container restart and hence why my plugins were not persisted. I then enabled WEBSITES_ENABLE_APP_SERVICE_STORAGE, but now my site shows up with the empty Web App Template:
Your App Service app is up and running
It looks like turning the App Service Storage maps the Web Server to Azure Storage and my container is now "useless". How do I retain files and have Wordpress running at the same time? I would imagine that Wordpress is a little useless without being able to persist storage...
I think this one is out of date.if you are using Wordpress for Linux as an Azure WebApp, Below readme.md maybe help.
https://github.com/Azure/app-service-quickstart-docker-images/tree/master/wordpress-alpine-php/0.4

Integrate wordpress in sharepoint server

I want to build a website using SharePoint server 2013 as Software architecture , Can I integrate WordPress inside SharePoint server ?
If by integrate you mean run on the same (SharePoint) server, there are a few options. Sorry if this is obvious, but SharePoint runs on Windows Server/IIS, while WordPress traditionally runs on Apache. So, you might be able to use something like WAMP or install directly into IIS using Web PI, but it will likely get messy.
I would either use SharePoint's built-in blogging functionality, or host the WordPress site elsewhere and try to integrate posts using an approach like this.
You should be able to run WordPress on the same server as Share Point. Share Point is IIS, and WordPress runs quite well on that.
I develop in IIS, and live sites tend to be LAMP. This way I know the site is agnostic about the platform it's on. I've been doing this for years and have run into few issues. There's a few minor gotcha's but no real show stoppers.
For more on setting up WordPress in IIS, see: https://codex.wordpress.org/Installing_on_Microsoft_IIS

Symfony 2 on shared hosting?

I'm developing my app in Symfony 2, and one of the things that i have kept in mind is that symfony 2 have a lot of requirements. I know that in my pc works. But i've never tryed to deploy my app in a shared hosting. Is not that i want all the functionalities of the framework, i only need that the app works, and also the caching works.
Do i need a special shared hosting or it can run in any hosting that have (of course) PHP and the Database Engine that i'm using?
If i do, which shared hosting may I use?
If i don't, do i need a special configuration?
Thanks in advanced.
These are the requirements for running symfony2
http://symfony.com/doc/2.0/reference/requirements.html
Have a look at it and compare with your hosting provider and see if they matches.
Most of them should match othwise give the support team a call and they will look at it.
usually most of the Hosting companies have symfony2 available as addon so i think they might have all requirements but ask you can confirm with them. like Godaddy
You also want to be cautious for shared hosting servers that use separate php versions for CLI vs Apache. If this is the case, even though you can run parts of your application via ssh, you may not be able to run most of your Symfony2 application via http.
I think you may be better off investing in a cheap VPS for Symfony2 development as it allows more flexibility and will ultimately save you more time. A lot of vps these days are almost as cheap as shared hosting anyway.
Well No doubt Symfony requires lot of pre requsites. specially when it comes to shared hosting. I practice my self managed cloud hosing services of Cloudways. This is so because they provide popular php framework as one click app installation, Moreover, i found installation process of symfony on cloud server over there blog. Just followed the simple steps and symfony 3 was installed on my server.

ASP.Net MVC 3 application automated installer

I wanted to know if it's possible to automate the deployment of an ASP.Net MVC application. This application is meant to run locally on the host PC and I what I want to do is create an installer to make it easy for end-users to setup quickly. I've never tried this approach for web applications and I wanted to see what my options are.
I was thinking of using something like Cassini or aspNETserve and somehow automating the installer to set everything up on the fly. Any insight is appreciated, if there are any questions or if more details are required, please let me know. Thanks.
I would use the WebPlatform installer to set all your dependencies setup. You can script that tool and have it run all the pre-reqs for you. (http://msdn.microsoft.com/en-us/library/windowsazure/gg433092.aspx)
Also, I would use IIS Express to host. It is also setup via script to setup your app root, paths, permissions, etc. (http://learn.iis.net/page.aspx/870/running-iis-express-from-the-command-line/)
So in theory a simple script or installer could deploy all of this for you and run the above two as well as deploying your application.

How WP-o-Matic works and how to do the same using ASP.Net? Cron job equivalent in .NET?

WP-o-Matic is a wordpress plugin to auto post based on some configured feeds, it read feeds everything time interval i setup, its working on my blog, my blog is on shared windows web hosting, i want to know how it auto work like that, and because i am on a shared hosting, so sure i didn't setup any windows services on the server, so its just keep working just after activating, seams strange idea for me.
Here's a nice article on how to create a Task Scheduler (similar to Cron) in ASP.NET
i am afraid you will have to write a windows service to run the scheduled jobs in .Net environments. In general, shared hosting companies do not provide a provision to configure a windows service on the servers so you might have to look at other alternative for hosting.

Resources