cancel
Showing results for 
Search instead for 
Did you mean: 

WebStudio and Deployment

derbex
Champ in-the-making
Champ in-the-making
Hi, I've got web studio up and running, and built the demos. I'm now trying to deploy the PowerToys demo that I've built.

What I would like to do is to deploy the site as a bunch of static pages to an Apache server. I have set up an FSR deployer against the project and this deploys the files fine. What it don't end up with are any html files, just xml. I'm hoping that, as a beginner, this is just down to my lack of understanding of Alfresco and there's something that I can do in the Web Project -or wherever to force the HTML to be generated.

Any help would be much appreciated.
8 REPLIES 8

pmonks
Star Contributor
Star Contributor
Web Studio is not intended to generate 100% static HTML sites - it includes a runtime "interpreter" that understands how to read those XML files and compose a site from them.  For now this interpreter is implemented as a Java webapp (WAR file), but there's no reason it couldn't be implemented in other web application technologies (the content model is technology agnostic).

Cheers,
Peter

derbex
Champ in-the-making
Champ in-the-making
Thanks for that. We want to generate static content as at least parts of our pages, so WebStudio isn't the solution for us.

pmonks
Star Contributor
Star Contributor
Web Studio leverages the underlying capabilities of the WCM repository, which includes the ability to create and manage static elements (eg. via Web Form renditioning templates - http://wiki.alfresco.com/wiki/WCM_Forms_Rendering).  Web Studio uses a dynamic (request time) page composition mechanism however, so while large portions of a page may be sourced from static elements, the final page impression itself is not 100% static.

Cheers,
Peter

sapo
Champ in-the-making
Champ in-the-making
hi, I'm very interested in this topic.

I have created a web site from Web Studio and deployed the web project from Alfresco to a FSR (Tomcat webapp folder). But, I don't know how to navigate the generated site. This generated site doesn't contains web.xml or any other html file.

Please, help me.

Thanks.

uzi
Champ in-the-making
Champ in-the-making
Hello all,

I'm going to put up a Wiki article for early next week that provides details on how to set up deployment for Alfresco Web Studio.  Essentially, you will need a Surf runtime on the production tier with a local file system store configured on top of the classpath store.

With Labs 3D, we provide sample files for Surf for configuring both local and remote store search paths.

I'll get that Wiki page put in place for everyone and it should help out greatly.

Michael

sapo
Champ in-the-making
Champ in-the-making
thank you very much.

Martín.-

uzi
Champ in-the-making
Champ in-the-making
Hello,

With regards to this thread, I just wanted to mention that we've put up a good deal of material about how to configure Alfresco Surf for the production tier.  As you know, Alfresco Web Studio produces Alfresco Surf applications.  Thus, the web site you build with Alfresco Web Studio can be deployed out to a production Surf runtime!

The production configuration details for Alfresco Surf are here:
http://wiki.alfresco.com/wiki/Surf_Platform_-_Deployment_Configurations

After you build your site in Web Studio, you can follow the Wiki to see how to set up Alfresco WCM to handle all of the deployment of your web site assets out to production.  This means that Alfresco WCM will handle workflow approval to staging and publication of your web site to the live runtime.

We will have more of this functionality introduced right into the Web Studio tool in the next release of Alfresco Labs!

Michael

vcsaba
Champ in-the-making
Champ in-the-making
Hi,

I would like to make a demo with web studio, but the last nightly build isn't working.
Which version can I use for the demo?
I searched some documentations about surf and webstudio for developing, but I don't have find them. Are there somewhere?


Thanks,
Csaba