-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Best Practice w/ Custom Theme + Plugins #66
Comments
You can add custom plugins and themes to the https://github.com/xyu/heroku-wp/tree/nginx-php7/public/wp-content Anything checked into this dir will be merged with the plugins or themes specified in the composer config when deployed to Heroku. |
Thanks! Makes sense. I also went ahead and read up more on Heroku. For anyone else in the future that is/was confused checkout these guides: |
this doesn't seem to work I've created a folder /themes git committed it and also just tried inside wp-content. Did this break? |
I'm a little confused on how we should go about using this with a private repo containing wp-content that houses our custom plugins and theme. Normally I can either deploy entire WP site Github repo to server or add the wp-content folder as a repo on the server and pull whenever I make plugin/theme/wp changes.
"Because a file cannot be written to Heroku's file system, updating and installing plugins or themes should be done locally and then pushed to Heroku."
What does that mean? SCP files to the heroku instance? Sorry I'm just new to Heroku/Composer for Wordpress.
The text was updated successfully, but these errors were encountered: