-
Notifications
You must be signed in to change notification settings - Fork 27
The Application Root Path
Adam Cooke edited this page Oct 18, 2016
·
1 revision
In most examples, we've assumed that you're current within root directory of your application however you can use the --root
(or -r
) option to specify the root directory.
$ procodile start --root /opt/apps/banana-app
If you deploy your application into a release directory and then symlink into a current
directory, you should always use this option otherwise Procodile will resolve the root into the specific release directory and restarts will always just restart the same directory that you were in when you started the first time.
If you need to provide the application root directory to your processes, you can use the APP_ROOT
environment variable which will pass through whatever you enter here.