This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
hi, we have three development environments for my team. we use git and would like to use october cms for a project. laravel was great because we could connect to our custom databases depending on what environment the application was located, simply by configuring the bootstrap/start.php file. does october cms allow this functionality? if so HOW? thanks in advance
October sits on top of laravel so you can set different environments for different installs and create your /config folders accordingly. Check the laravel 4 docs on how to do that.
Alternatively (and preferrably), just drop in a .env file into your root directory for each server and use env() in your config files. Docs here.
Edit: Just saw Mohsin already linked to his blog post. Nice one!
Last updated
hmm... well on a related note. here is a short essay I wrote in response to someone asking about a multi-tenant setup in help & support.
https://octobercms.com/forum/post/htaccess-for-two-instances-on-same-server
1-6 of 6