Development on localhost

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 Jahre weitere
Hi.

I'm new to nopCommerce and try to figure out the best way to set up my development environment for Visual Studio. I have read that people develop on local machine and then publish to live server. My question is regarding database and connectionstrings. How do I deal with this? If I create a file settings.txt under Nop.Web/App_Data with my local connectionstring, will this create conflicts on live server if I deploy with this file? How is the relationship between these two database settings?
6 Jahre weitere
RE: "create a file settings.txt under Nop.Web/App_Data"
Don't.  Run the site with Visual Studio and go through the Install process which will create the .txt files.
If you Publish with VS, the .txt files normally would not get published.
6 Jahre weitere
There is a option when you publish your site in Visual Studio to ignore files under App_Data.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.