Readme.md

Heroku

WordPress 4.5.3-ja + pg4wp2 Heroku (Original Repository)

Join the chat at https://gitter.im/fossasia/loklak_wp_plugins

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:

  1. Click on ‘Deploy to Heroku’ to install a wordpress instance on Heroku.

    Deploy

  2. 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.

    Time-zone and Auth

  3. Click on Deploy for Free. Once the app is deployed, Click on ‘Manage App’. Go to ‘Deploy’ tab and choose ‘Deployment method’ as Github

  4. Connect your forked loklak_wordpress_plugins repo to Heroku.

    Connect repo

  5. 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.

    Automate Deployment

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
Конвейеры
0 успешных
0 с ошибкой