You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Alexis Ducastel <al...@ducastel.net> on 2009/10/02 08:28:08 UTC

Coupling SVN repository with a web access to project

Hello the list,
We are developping a web project.
I would like to use SVN to manage project, this is easy, but i can't find a
solution to use the svn repository as a preview.

In facts, i want to "run" my web project directly from the SVN repository.
(project is very simple, html + php5, no mysql or other)
I only success to browse it through the repository browser, but .php aren't
executed ...

I tried to set the svn dav to /var/svn, and the public virtual host to
/var/svn, but evidently ... it failed.

I'm aware that this is not a bug, but i really need this feature, or
whatever which allow me to have a public access to the last version in
repository, running as demo.

Thanks a lot.
--
Alexis Ducastel
---
P.S :
Our SVN server is under Debian Lenny, using Apache2 and subversion,
and our developpment team is working on Windows , Vista/XP using TortoiseSVN

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2402792

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Coupling SVN repository with a web access to project

Posted by Parashkev Penev <pa...@mimoon.de>.
Hello Alexis,

You can use a post_commit hook to automatically update a working copy  
of the repository, that is placed on the same machine. E.g:

	If /var/svn/Test is your repository you can create a working copy  
under /var/www/Test to serve as a demo. Then use a post_commit hook to  
keep the demo updated to the latest revision,

Br

Paro

-- 
-------------------------------------------------------------------


Parashkev Penev
mimoOn GmbH
Technologiezentrum für Duisburg
Bismarckstrasse 120
47057 Duisburg
Telefon: 0203 306 4544
Fax:  0203 306 4545
Web: www.mimoOn.de
Email: parashkev.penev@mimoOn.de

-------------------------------------------------------------------
mimoOn GmbH                          Geschäftsführer:
Technologiezentrum für Duisburg      Prof. Dr.-Ing. Thomas Kaiser
Bismarckstrasse 120
47057 Duisburg, Germany

Tel:    +49 (0)203 306 4500          Amtsgericht Duisburg HRB 18740
Fax:    +49 (0)203 306 4554          USt.-ID: DE 814186367
Web:    www.mimoOn.de
E-mail: thomas.kaiser@mimoOn.de
-------------------------------------------------------------------

On Oct 2, 2009, at 10:28 , Alexis Ducastel wrote:

> Hello the list,
>
> We are developping a web project.
> I would like to use SVN to manage project, this is easy, but i can't  
> find a solution to use the svn repository as a preview.
>
> In facts, i want to "run" my web project directly from the SVN  
> repository. (project is very simple, html + php5, no mysql or other)
> I only success to browse it through the repository browser, but .php  
> aren't executed ...
>
> I tried to set the svn dav to /var/svn, and the public virtual host  
> to /var/svn, but evidently ... it failed.
>
> I'm aware that this is not a bug, but i really need this feature, or  
> whatever which allow me to have a public access to the last version  
> in repository, running as demo.
>
> Thanks a lot.
> --
> Alexis Ducastel
> ---
> P.S :
> Our SVN server is under Debian Lenny, using Apache2 and subversion,
> and our developpment team is working on Windows , Vista/XP using  
> TortoiseSVN
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2402794

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].