Hi,
I have been playing around with Bedrock and thinking about how I would use it in different situations.
There are definitely situations that I would not use capistrano, and because of this I was thinking I wouldn’t use dotenv either. I am thinking that together they make sense, but apart not so much.
That being said I am really liking the folder structure of Bedrock and using composer. The below is what I have been thinking of doing and worked out so far. I am wondering if there are any concerns I should be aware of, or ideas to make it better.
-
Download Bedrock from git.
-
Before running a ‘composer install’ I do the following:
- delete Capistrano files per documentation (remove deploy folder etc.)
- delete scripts folder
- delete dotenv files per documentation (remove environments folder etc.)
- open composer.json and delete references to the installer and salts, and phpdotenv
- open composer.lock and delete phpdotenv
- keep application.php, but replace the dotenv references
- Run ‘composer install’
I’ve tested and it works.
From here I am thinking of keeping this as a repo on Bitbucket and deploying it through Deployhq for new projects. I would need to manually change the credentials of course.
Any thoughts on this? Is this completely weird and defeating the purpose of Bedrock?