Automating site import

Ozgur Ozguven asked on June 25, 2015 17:34

Does anyone know a way to automate site export-import process? At the moment, I have a template site which I manually export and then import every time I need a new site, and this happens quite often. Ideally, I would like to fully automate the site creation process but I don't know how. I don't mind if the export part is not automated as it will not change often, but the automating the import part would save me a lot of time.

Any help or direction will be appreciated.

Many thanks

Recent Answers


Virgil Carroll answered on June 25, 2015 19:01

Have you thought about converting the site into a site template? More info here: https://docs.kentico.com/display/K8/Creating+web+templates

If you are using it over and over in the same Kentico install, then this would probably be the best option. If you are doing each site as a separate install, I am going to be there would be a way to save your site as a web template then bootstrap it into the install process, but you would have to talk with Kentico about that.

0 votesVote for this answer Mark as a Correct answer

Ozgur Ozguven answered on June 26, 2015 10:45

Thanks Virgil, yes, site template looks like the way forward. But after I have my site template, can I programmatically create a site based on that site template? I basically want to write a custom stand-alone app via which non-technical people will be able to create websites. (This custom stand-alone app will talk to Kentico via REST API or whatever else available)

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.