Your search for NAnt returned 2 results.
This is page 1 of 1
I've written a
nant build that you can use to archive instances of Umbraco to
a zip file and then restore them to a new instance. (An instance
consists of an IIS site, and a database).
The demonstration video is below and lots more information is
available on the
our.umbraco project page.
decided to automate Belle installation, so we can set up environments really quickly.
Our weapon of choice for automation is NAnt, a .NET build tool which is ideal for automating tasks like downloading files, extracting zip files etc. We set about building a Belle installer based on our existing NAnt backup and restore script.
We hit a blocker when we tried to automate creating an empty Umbraco database. There isn't an SQL script nowadays. Thankfully Morten provided us with this code snippet... of Umbraco.
One of the nice things about NAnt is that we can load assemblies into our build script and execute against them directly, so we can take the code above and run it directly from our build as follows:
<script language="C#" prefix