+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Dev Environment - Top Tips

Dev Environment - Top Tips

5 posts, 0 answered
  1. Dave Mateer
    Dave Mateer avatar
    15 posts
    Registered:
    07 Apr 2010
    01 Aug 2010
    Link to this post
    Hi

    How to setup a great SF dev environment.. ideally a 1 click publish to the live/staging server?

    I'm on my first SF development project.  Using VS2010.  

    -Filezilla to ftp to a shared host. 
    -SQL Management studio, Tasks, Generate Scripts to generate the sql from my local box and then run on live.

    Usually I use Web Application Projects, and could then use the VS2010 web.development.config and web.live.config to change config settings.

    Also how to publish the SQL to live easily from VS2010 (perhaps nant build script, or on the solution on build if using Web Application Project). 

    Cheers

    Dave



  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    05 Aug 2010
    Link to this post
    Hi Dave Mateer,

    Thank you for using our services.

    In Sitefinity 3.x we do not provide a site publishing mechanism. You can use Visual Studio to publish the website using its tools, however you would also have to update the database. If you are going deploy the website for the first time you can straight away backup the database and restore it on production SQL server.

    In Sitefinity 4.0 we are going to introduce a deployment mechanism which is going to allow our users to deploy their websites to hosting partners.

    Kind regards,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Dave Mateer
    Dave Mateer avatar
    15 posts
    Registered:
    07 Apr 2010
    05 Aug 2010
    Link to this post
    Hi Radoslav Georgiev 

    Thanks for the reply.. I'm going to give compiling to a Web Application Project a go this weekend, which may then allow me to do a 1 click deployment via VS2010.

    I've tried some scripting ideas and Server Management Objects


    and


    Cheers

    Dave
  4. John
    John avatar
    22 posts
    Registered:
    21 Jun 2010
    05 Aug 2010
    Link to this post
    I personally prefer Visual Studio's "Publish" utility for Web Applications, and Visual Studio's "Copy Web Site" utility for Web Sites.  Many ways to skin a cat.
  5. Dave Mateer
    Dave Mateer avatar
    15 posts
    Registered:
    07 Apr 2010
    06 Aug 2010
    Link to this post
    Hi John

    Thanks for your thoughts.. essentially I'm aiming to have an automated deploy.  So change the web.config settings (connection string, smtp etc..), upload, SQL dump script or SQL copy.   Will try your techniques, and get back to everyone on this forum post.
Register for webinar
5 posts, 0 answered