I am simply doing a local test of my deploy. I am deploying from my local machine to my local machine's IIS (same box).
I just want to run it on IIS locally before I pack it up.
I want to use the same connection string as my Visual Studio project.
I deployed using Deploy.bat. check I connect local IIS to the deploy folder. check I copied my Settings.txt file from my working root, into the into the target site's App_Data folder check (and it contains the right local connection info)
But the site shows me the Install screen. No check
Is there any other files or settings I need to transfer as to not get the install screen? Thanks in advance!
If you want to copy your existing setup, then you also need InstalledPlugins.txt (also in App_Data). But I don't recall if that also affects/triggers the Install
The rule is that if you want to move over an existing installation, and not get the install screen you just need to copy the two txt files from the app_data folder, settings and InstalledPlugins.
If you get the install screen still, then you may have a permission or settings issue.
I install NopCommerce 3.8 Version Local in my computer and I use a database in a SQL Server. And then when I start publish my site in a server its ask me again to Install it. I try your solution but it doesn't work. Is there anything else I can do?
The lack of Settings.txt triggers install. When install finishes, it creates Settings.txt (and InstalledPlugins.txt ). Thus it is not in the Visual Studio solution and does not get published. If you are using the same database you tested with, then take the files Settings.txt and InstalledPlugins.txt from your project folder \Presentation\Nop.Web\App_Data, and copy them to your host's \App_Data folder. (If you are not using the same database, then you need to adjust the connection string in the Settings.txt file.)
Thank you very much for your quick answer it works, yes I use the same database. One more question which is following is if i install a plugin locally should I do again the copy-paste the txts files from local to host? and moreover i see that if i unistall a plugin at live site when I work locally it remains install. Is a way to synchronize or I should work in one of two sites?
If both sites point to the same database, then after install on one site, copy the InstalledPlugins.txt file from that site to the other, and then "reload list of plugins" in the plugin list page. (It will then show "Installed" on that site's plugin list.)