I've been trying to build and deploy a website running on Orchard CMS. I've previously downloaded Orchard, set up a development environment, made a few modifications to the source, added and modified a theme, added some content and so forth. I've been using the SQL CE as database. Now I want to build and deploy the complete website. I've built a deployment package by running the build script, as described here. It's easy to simply ftp the built package to the hosting server. However, when visiting the site I now get the install a new site procedure. Apparently, the cms settings and content from my development environment have not been reflected in the deployment package. Thus, I need to copy all the content and re-do all the settings, including creating all widgets etc. again.
Does anyone have any good ideas on how to publish an Orchard site from a development to a production environment, including the cms settings, widget settings, content, etc? All guides I've found on the web describe how to use WebMatrix to deploy an Orchard site to shared hosting or Azure, but all of those guides end up with having a clean Orchard installation. What I would like to achieve is to develop the site locally, and then push the entire site to the hosting server.
If you have built a deployment package and transferred it to your server (via FTP), you are almost done. There are two things you have to do after that. Remember, do not run the first-time setup.
After that, you can run your site and everything should be ok. So in your scenario, you can only copy the folder from 1. and you'd be set.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With