I've been working on a Docker image as well as some OpenShift images for both Openshift Online, and Openshift (NextGen) Online. During deployment, it would be nice to be able to link to the Project ID and have it install themes and plugins from the Marketplace. I thought an artisan command would be the right place to do this so that I could just run something like:
php artisan project:link xyz
during deployment.
Thank you
@jmondragon Would you please link to your Dockerfile?
Sure! If you can get it from here:
https://hub.docker.com/r/dragontek/octobercms/
Or the Github repo is here:
https://github.com/dragontek/octobercms
Thank you
Good idea, perhaps october:project would be a better name, seeing as it will have no siblings. Feel free to submit a PR for this.
This issue will be closed and archived in 3 days, as there has been no activity in the last 30 days. If this issue is still relevant or you would like to see action on it, please respond and we will get the ball rolling.
I鈥檒l create a pr next week
@SebastiaanKloos could just be under the october:util namespace, so php artisan october:util link project $projectId
@LukeTowers It looks like the command is already there. php artisan october:util set project $projectId.
Haven鈥檛 tested it but found it in the code...
@SebastiaanKloos right you are! Added almost a year ago in https://github.com/octobercms/october/commit/cd275554f2a2b91b3d366719b4d71a6a253175ff (#3946). This was fixed with the resolution to #3944
Most helpful comment
@SebastiaanKloos right you are! Added almost a year ago in https://github.com/octobercms/october/commit/cd275554f2a2b91b3d366719b4d71a6a253175ff (#3946). This was fixed with the resolution to #3944