October: Feature Request: Artisan command to link Project Id

Created on 25 Jun 2016  路  8Comments  路  Source: octobercms/october

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

Completed Conceptual Enhancement duplicate

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

All 8 comments

@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

Was this page helpful?
0 / 5 - 0 ratings