steemit / devportal

Steem Platform Developer Documentation.
https://developers.steem.io
MIT License
122 stars 74 forks source link

Added environment variables for deploy #413

Closed inertia186 closed 5 years ago

inertia186 commented 5 years ago

As a devportal maintainer, I would like to be able to use rake production:deploy without having to modify the Rakefile and _config.yml files, so I don't interfere with the deploy process of other forks.

This change allows forks to deploy on their own github remotes and baseurls. Taking the defaults should not interfere with Steemit, Inc.'s deploy process.

To override the remote and baseurl options:

REMOTE="experimental" BASEURL="/devportal" rake production:deploy

To continue to use the defaults:

rake production:deploy
roadscape commented 5 years ago

@inertia186 still relevant?

inertia186 commented 5 years ago

Yes, I can say with certainty this is still relevant. The unknown before the latest official deploy was whether or not this change got in your way when you deployed. It appears that it did not, which is great.

Having this option is ideal because it allows forks to deploy without modifying source. I've been using it all month and it's been very helpful.