WordPress 4.5.3-ja + pg4wp2 Heroku (Original Repository)
This is a Wordpress site repo which can be deployed on Heroku to test the plugins with Loklak support.
https://loklak-wordpress.herokuapp.com is a sample Wordpress installation with all plugins present in wp-content/plugins
Installation
###Deploy from Github directly:
-
Click on ‘Deploy to Heroku’ to install a wordpress instance on Heroku.
-
Give your website a name and input your time-zone and add authentication information for .htpasswd to access wp-admin page (admin privileges). See the screenshot below.
-
Click on Deploy for Free. Once the app is deployed, Click on ‘Manage App’. Go to ‘Deploy’ tab and choose ‘Deployment method’ as Github
-
Connect your forked loklak_wordpress_plugins repo to Heroku.
-
To automate the deployment process when the github repo is updated, enable automatic deploys. Now deploy the master branch of your repo and you are good to go.
Clone github repository and deploy using Wordpress-Heroku toolbelt
To deploy using Heroku toolbelt, please refer to Heroku-toolbelt installation doc
For detailed information, refer to this blog.
Usage
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.
Updating
Refer to Wordpress updation doc
Deployment optimisation
If you have files that you want tracked in your repo, but do not need deploying (for example, *.md, *.pdf, *.zip). Then add path or linux file match to the .slugignore
file & these will not be deployed.
Examples:
path/to/ignore/
bin/
*.md
*.pdf
*.zip