Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
wp-admin
wp-content
wp-includes
.htaccess
.htpasswd
.slugignore
.user.ini
Plugin-Readme.md
Procfile
Readme.md
app.json
composer.json
composer.lock
index.php
license.txt
readme.html
web_boot.sh
wp-activate.php
wp-blog-header.php
wp-comments-post.php
wp-config-sample.php
wp-config.php
wp-cron.php
wp-links-opml.php
wp-load.php
wp-login.php
wp-mail.php
wp-settings.php
wp-signup.php
wp-trackback.php
xmlrpc.php

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

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

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

  2. Connect your forked loklak_wordpress_plugins repo to Heroku.

Connect repo

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