Is it possible to deploy an already built Drupal site? - deployment

I'm a Drupal newbie. Is it possible to set up everything and deploy Drupal on the server? I mean things like putting in the content, setting up the modules, etc..., then you put it all up to the production server?

Of course.
copy all the files
edit the database credentials (sites/default/settings.php)
export the database content via mysqldump or phpMyAdmin (supposing you use MySQL)
import the database content at the target server
I've done it several times.

Related

Move website to another server without FTP or SSH

I have a problem with an existing TYPO3 website. (9.5.13)
Unfortunately, I no longer have FTP or SSH access to this server. (Provider can no longer be contacted) I would therefore have to move this website to another server. I only have admin access to Typo3 website.
Unfortunately I can't find a way to do this without copying the files and the database to the new server.
Is there a possibility? If so, how can I do this?
There is no real good way if you don't have a proper access to the server.
For the database you could use the extension phpmyadmin or t3adminer
but there is IMO no extension to download the content of the fileadmin (which will be a native feature of TYPO3 11 LTS).
However you could download at least all extensions of course.
In former times, there were two extensions trying to implement a FTP client as backend-module. The one was "Typo3 quixplorer", the other was "Typo3 eXtplorer"... Quixplorer is outdated (last update of extension in 2010), eXtplorer had its last update 2008...
Both extensions have security issues! Be careful and remove them immediately after usage!
Maybe you can find similar projects running in current web environments...
You may build some php script to archive the whole fileadmin-folder, and make a database dump. which you can download from the server.
Or you use a script to contact the new server to transfer the data immideatly.
It's just a question how you can upload these scripts as TYPO3 does not allow the direct upload of executables.
This is a really unfortunate situation, but you can copy the database and the files by using this extensions. Be aware: I haven't tested this extensions or took a look into the code and picked them by their description and README files. Use them carefully and on your own risk!
Note: In general the TYPO3 Security Team recommends to not use any
extension that bundles database management tools on production TYPO3
websites.
Database:
Use EXT:adminer or EXT:phpmyadmin to download your database tables.
Files:
Install EXT:commands or EXT:additional_scheduler to zip & download your files & folders.
All in one solution:
While researching I've found the extension EXT:ns_backup. Maybe you can us it to transfer the backup to cloud services like dropbox.

Getting requests only in one computer in UmbracoApi

I have a Umbraco API project that using the UmbracoCms library V 7.15.3. The project work properly, but from some reason after that i copy the project to another computer. The API stop to work there and requests did not comes to the controller.
Is there a reason for something like this to happen?
Umbraco gives you a web application which you need to install and setup somewhere before it will work.
You probably used their installer initially which created an IIS website and a database for you. You don't need to re-run the installer, but you do need to copy the database and all the files and re-create the website in IIS on the other computer.
Simply moving files around is not enough.

How to copy odoo website files to different web server?

Good Evening,,
Odoo Site Builder is very useful tool for building a dynamic, responsive, beautiful and easy website, so i want to use Odoo as a website builder for building websites and copy it to another web servers.
Where is the directory of Odoo v8 website files?
Thx for the help.
Install odoo on the device that you want to copy your data in.
then copy all files in Odoo\server\openerp\addons to the other computer.

howtodeploy dotnetnuke webapplication in webserver

I created one dotnetnuke web application and also i worked with the database aslo, now i want to deploy in my webserver as a portal. How to deploy the dotnetnuke web application in my web server, I want the steps how to deploy the dnn application..
It depends because there are numerous scenarios.
A. Simple solution is to just copy DNN and its database to web server, as you can do with any other asp.net application. This is good option if you need to move all you have locally.
Copy file system with local dnn to web server
Restore dnn database to database server accessible to web server
Update PortalAlias table with webserver domain name
Update connection string(s) in web.confg to new database location.
(http://www.dotnetnuke.com/tabid/825/EntryId/1293/Default.aspx)
B. More sophisticate options is If your app is made as one or more DNN modules. Than you need to create DNN module deployment package (ZIP file with DNN manifest files, acsx files, dlls, resources, SQL install scripts, etc…). Easy start is Create Module Package option in Module Definitions. When you have correct and complete module package you can install it to other DNN host installations.
adefwebserver.com/DotNetNukeHELP/DNN_PackageModule/
If you will be deploying to a web "farm" (more than one server), this documentation from DNN can help http://www.dotnetnuke.com/LinkClick.aspx?fileticket=uBK3uGIYYXg%3D&tabid=478&mid=857

How to Deploy a Drupal Site on a Web Farm?

I would like to know how I should deploy a Drupal site when I'm using three servers?
Is it possible to deploy it with a Drupal module or something? If it is, how does that work?
Thanks.
update: I would like to know about the deployment of files and the configuration of the servers.
you should consider using drush.
among other useful things (automatic download and update of the modules)
it has a rsync wrapper that lets you synchronize files between hosts (./drush sync)
it's also used by the project aegir which is "a set of modules for Drupal that helps you maintain several Drupal sites."