Deployment trouble. Is courier and usync the only options?
Hello.
I'm having a nightmare trying to deploy from dev to UAT. I'm using visual studio 2012. I have my project with all my packages (react, usync, optimiser etc). I'm expecting to deploy doing the following:
Backup my dev database and restore it as a new database on UAT.
Publish my website to the UAT server
Change the connection string in the web.config to point to the new UAT db.
The dang thing doesn't work.
I'm getting null reference exceptions on UAT.
I don't know if usync might be interfering?
I'm new, so haven't used courier and don't want to buy it until I have a nice website up and running to first show my boss and then convince him to buy courier.
Sorry, but I'm not sure what UAT is? Is it a hosting provider or?
uSync should only be used for syncing content between development environments I think. But Courier should work - Other options could be to try out uMport or Conveyor for instance.
Sorry, UAT is User Acceptance Testing (a test server). It's just deploying to a web server. Courier is not an option for me at this stage - might be later once I have something up and running and something amazing to show to my boss.
I'm going to try and remove usync for now and then maybe introduce it later once I can get a simple copy from my development to a different server working first.
I finally got it working. It's not the best, but it's working at least...
In visual studio, in stead of using the "Publish...", I just copied my whole dev folder (excluding solution file and git folder) over to UAT. I excluded some obvious folders like sass and cache folders and things I didn't think were needed.
So these were my steps:
Database: Backed up dev and restored to UAT server
Application: Copied the files over from my dev machine to the web folder on UAT (After setting up a new site in IIS).
Changed the connection string in the web config.
Started the application on UAT and it all worked.
Subsequent steps / gotcha's
With usync, I had to install it using NuGet - for some reason importing it in umbraco package manager didn't quite work.
I know it's not the best way, but it works for now.
Deployment trouble. Is courier and usync the only options?
Hello.
I'm having a nightmare trying to deploy from dev to UAT. I'm using visual studio 2012. I have my project with all my packages (react, usync, optimiser etc). I'm expecting to deploy doing the following:
The dang thing doesn't work.
I'm getting null reference exceptions on UAT.
I don't know if usync might be interfering?
I'm new, so haven't used courier and don't want to buy it until I have a nice website up and running to first show my boss and then convince him to buy courier.
Any help will be great.
Leon
Hi Leon
Sorry, but I'm not sure what UAT is? Is it a hosting provider or?
uSync should only be used for syncing content between development environments I think. But Courier should work - Other options could be to try out uMport or Conveyor for instance.
Hope this helps.
/Jan
Hi Jan.
Sorry, UAT is User Acceptance Testing (a test server). It's just deploying to a web server. Courier is not an option for me at this stage - might be later once I have something up and running and something amazing to show to my boss.
I'm going to try and remove usync for now and then maybe introduce it later once I can get a simple copy from my development to a different server working first.
Any other help from anyone?
Leon
Hi Jan.
I've just had a look at what you suggested (Conveyor). It seems quite good. I'll give it a go. Let me know if you have more info.
Thank you very much. Leon
Hi Leon
Aaah, thanks for enlightening me :)
I don't know about other tools or packages that can do this - But I'm excited to learn about your experiences.
/Jan
Hi.
I finally got it working. It's not the best, but it's working at least...
In visual studio, in stead of using the "Publish...", I just copied my whole dev folder (excluding solution file and git folder) over to UAT. I excluded some obvious folders like sass and cache folders and things I didn't think were needed.
So these were my steps:
Subsequent steps / gotcha's
I know it's not the best way, but it works for now.
Leon
is working on a reply...