Problems understanding synchronization with Visual Studio
Hi Im having some problems understanding how to synchronize files between Umbraco, Unoeuro (webhotel for my website) and Visual studio.
Im new to Umbraco so I figured I would just describe what I have done so far and where my problems appear.
I created a empty web application in visual studio
I installed the UmbracoCms nuget package and build solution
Then I right-clicked on my application and clicked Publish - used my ftp information from Unoeuro and it published successfully
Then I went on my website (not localhost) and did the initial Umbraco install - set it up with a mySQL database I have from Unoeuro as well
Here's where my problem appears.
When I make content in Umbraco - for example a home page - it does upload the files, I can see that in my file manager on unoeuro. Here's a picture of it:
--
BUT... it only uploads these files to Unoeuro meaning the new files does not show in my Views folder in Visual Studio like they would if I was installing Umbraco from localhost (I can kinda understand why)
But how would I get around this problem? Because now my project in Visual Studio needs to sync with my webhotel and that seems wrong to me.
In step 4 you're using your published version of the website to create the Umbraco environment. All of the files are created in the environment in which you are running the Umbraco back-office (on the Unoeuro servers).
You need to copy the content back to your local machine, for example manually using an FTP client (I use Filezilla).
At the moment when your website is still in development you might prefer to do everything on Unoeuro. Once it's been running for a while you may want to change this to make amendments locally, and then publish or FTP them onto the server only when you're happy.
One day you'll make a change which breaks everything and be grateful that you're not doing it to a live website!
Problems understanding synchronization with Visual Studio
Hi Im having some problems understanding how to synchronize files between Umbraco, Unoeuro (webhotel for my website) and Visual studio.
Im new to Umbraco so I figured I would just describe what I have done so far and where my problems appear.
Here's where my problem appears. When I make content in Umbraco - for example a home page - it does upload the files, I can see that in my file manager on unoeuro. Here's a picture of it:
--
BUT... it only uploads these files to Unoeuro meaning the new files does not show in my Views folder in Visual Studio like they would if I was installing Umbraco from localhost (I can kinda understand why)
But how would I get around this problem? Because now my project in Visual Studio needs to sync with my webhotel and that seems wrong to me.
Hi Jonas and welcome to Our.
In step 4 you're using your published version of the website to create the Umbraco environment. All of the files are created in the environment in which you are running the Umbraco back-office (on the Unoeuro servers).
You need to copy the content back to your local machine, for example manually using an FTP client (I use Filezilla).
At the moment when your website is still in development you might prefer to do everything on Unoeuro. Once it's been running for a while you may want to change this to make amendments locally, and then publish or FTP them onto the server only when you're happy.
One day you'll make a change which breaks everything and be grateful that you're not doing it to a live website!
Tim
is working on a reply...