Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# pha2er 10/6/2007 5:43 PM
Hello,

I've downloaded the source of v 1.5 of Cuyahoga and I have a couple of questions.

1. What is the proper way to publish the Web project? I have right clicked on the project and chosen publish, in the publish dialogue I have "Delete all existing files" checked, "Copy only files needed to run this application" checked and "Include files from App_Data" unchecked but when I do this it doesn't copy everything across, for example in the Install folder it doesn't publish most of the .sql files or the web.config.

If I use the "Copy all project files" option instead it takes over all the .cs files which I don't want.

I have VS.NET 2005 with SP1.

2. To get it up and running on the webserver I have published it using the "Copy all files" option, but it isn't allowing me to install the optional modules such as Remote Content or Articles. Before publishing I re-built the entire solution and they appear when I run locally pressing Ctrl-F5. The DLL's for the modules are present and have been uploaded to the web server.

That's all for now ;)

This is a great CMS btw, I've been faffing around with DotNetNuke but this is perfect for my needs (if I can get those modules working, that is).

Cheers,
pha2er
# mgaerber 10/7/2007 4:19 PM (edited 10/7/2007 6:15 PM)
Hi,

you don't need to "publish". Just compile it and copy the "Web" folder to your server, set the correct rights for folders/database, set your db password and register the root folder with your IIS.

BTW, Do you have the Web Application Project extension installed for your VS?

Regards,

Max

# pha2er 10/7/2007 7:42 PM
Hello,

I have the Web Application Projects extension.

I can compile it no probs, but when I copy the web folder up to the server all the code behind files go with it. That's why I was trying to publish it because it takes out the files you don't need to run the app.

I suppose it's not a big deal copying all the code behind files up, there's just no need to that's all.

Cheers,
pha2er
# martijnb 10/8/2007 9:44 AM
When deploying from VS:
1. Build solution.
2. Publish web project
3. Copy all modules to server manually (all folders in /Web/Modules)

When you have NAnt:
1. Go to the project root (command prompt)
2. nant -D: project.config=release clean deploy
3. Copy everything in /build/net-2.0/release to your webserver.
# pha2er 10/8/2007 6:48 PM
Thanks, I think I'll give this NAnt a shot.

pha2er.