You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each time you deploy, a new directory will be created under the “releases” directory, and the new version placed there. Then, the “current” symbolic link will be updated to point to that directory. (For now, don’t worry about the shared directory; we’ll get to that eventually.)
The web server's document root should be set to the [deploy_to]/current directory.
That means, the app/ directory name is a timestamp, which break things right now.
Howdy folks,
I'm opening a ticket while digging deeper, 'cause maybe someone will have a clue faster.
The problem, as I see it
Taken a fresh app and directories layout, and renaming the main
app/
directory to 1234 (or any integer), break Auth.Environment details
I'm using PHP 5.3.6, nginx, and all tests are green
Background
I'm deploying an app using Capistrano and a home made gem for Lithium easy deployments.
Capistrano, by default, creates a directory layout as follows:
[deploy_to]
[deploy_to]/releases
[deploy_to]/releases/20080819001122
[deploy_to]/releases/...
[deploy_to]/shared
[deploy_to]/shared/log
[deploy_to]/shared/pids
[deploy_to]/shared/system
[deploy_to]/current -> [deploy_to]/releases/20100819001122
Each time you deploy, a new directory will be created under the “releases” directory, and the new version placed there. Then, the “current” symbolic link will be updated to point to that directory. (For now, don’t worry about the shared directory; we’ll get to that eventually.)
The web server's document root should be set to the [deploy_to]/current directory.
That means, the app/ directory name is a timestamp, which break things right now.
A "maybe" related ticket: http://dev.lithify.me/lithium/tickets/view/367
The text was updated successfully, but these errors were encountered: