Re: [web2py] change web2py application directory

2013-10-31 Thread Richard Vézina
Loïc, what I was saying is that you will get in trouble when you upgrade web2py with this scenario... Migration from version of web2py to another is sometime not straigh as it should and you found yourself having to go back an forth between both version. In this situation you have sometime to make

Re: [web2py] change web2py application directory

2013-10-31 Thread Kiran Subbaraman
Loic, I find this to be useful, primarily because I want to add just my web2py applications to source control, and not necessarily the web2py installation. Also, am developing this stuff on windows, and actually deploy it on ubuntu. I feel this separation of my apps from the web2py platform is

Re: [web2py] change web2py application directory

2013-10-31 Thread Loïc
For Windows users who are interested... Now I have 2 separate folders : |_web2py (containing web2py source files with default applications) |_... |_applications |_admin |_welcome |_web2py_apps (folder containing all my apps) |_app1 |_app2 |_... When I upgrade w

Re: [web2py] change web2py application directory

2013-10-30 Thread Loïc ESPERN
Good idea I will make a try when upgrading my web2py repo... Thank you Le 30 oct. 2013 16:01, "Richard Vézina" a écrit : > Loïc, just a thought... How will you manage the upgrade of web2py version? > If you have only a single repo, you will make symlink in new version of > web2py applications fo

Re: [web2py] change web2py application directory

2013-10-30 Thread Richard Vézina
Loïc, just a thought... How will you manage the upgrade of web2py version? If you have only a single repo, you will make symlink in new version of web2py applications folder, but then you may face issue with the new version that force you to stick with previous version... If you have commit change

Re: [web2py] change web2py application directory

2013-10-30 Thread Richard Vézina
Great! :) Richard On Wed, Oct 30, 2013 at 10:11 AM, Loïc wrote: > I have found the problem. Thank you Richard! > > For Windows users who want to move the applications subfolders out of > web2py directory, the correct syntax is : > mklink /J TheLinkName ThePath > > mklink /J created a director

Re: [web2py] change web2py application directory

2013-10-30 Thread Loïc
I have found the problem. Thank you Richard! For Windows users who want to move the applications subfolders out of web2py directory, the correct syntax is : mklink /J TheLinkName ThePath mklink /J created a directory junction Previously, I used mklink /D (which creates a symlink for a folder) b

Re: [web2py] change web2py application directory

2013-10-30 Thread Richard Vézina
http://en.wikipedia.org/wiki/Hard_link On Wed, Oct 30, 2013 at 9:52 AM, Richard Vézina wrote: > Hmmm... I pretty sure in linux a symlink would work, but in win it is > different... If I remember there is a difference in hardlink and softlink > that need to be consider... > > Richard > > > On We

Re: [web2py] change web2py application directory

2013-10-30 Thread Richard Vézina
Hmmm... I pretty sure in linux a symlink would work, but in win it is different... If I remember there is a difference in hardlink and softlink that need to be consider... Richard On Wed, Oct 30, 2013 at 4:06 AM, Loïc wrote: > Some weeks ago, I tried to create a symlink inside /applications fo

Re: [web2py] change web2py application directory

2013-10-30 Thread Loïc
Some weeks ago, I tried to create a symlink inside /applications folder, but I got an error in modules. I was using mklink command on Win7, and my app works fine when located inside /applications folder without symlink... Below is the ticket I got. Maybe you have an idea? Ticket ID 127.0.0.1.2

Re: [web2py] change web2py application directory

2013-10-29 Thread Richard Vézina
Symbolic link? Richard On Tue, Oct 29, 2013 at 2:04 PM, wiel wrote: > > I have a local repository and a web2py installation up. how can I change > web2py's application directory so that it points to the repository? or how > can I let web2py use the repository? > > -- > Resources: > - http://we