publishpress / PublishPress-Planner

PublishPress Planner has all the tools you need to manage WordPress content, including an editorial calendar to plan content. You can create custom status and notifications for content updates.
https://publishpress.com/publishpress
Other
47 stars 20 forks source link
editorial productivity publishing wordpress-plugin

PublishPress Planner

Description

PublishPress Planner helps you plan and publish content with WordPress. Features include a content calendar, notifications, and custom statuses.

Based on Edit Flow. Edit Flow is produced by Daniel Bachhuber, Mo Jangda, and Scott Bressler, with special help from Andrew Spittle and Andrew Witherspoon.

Guidelines

Installation

:warning: Warning! This plugin requires to be built before being installed!

This repository doesn't store external dependencies required by the plugin. It's not possible to simply clone or download the repository code and have a working WordPress plugin.

We aim to follow good practices on development, and we are using Composer as dependency manager, which recommends to not add external dependencies into the repository. You can find more information on their documentation page: Should I commit the dependencies in my vendor directory?

How to install?

You can download a built package from releases page and install it on your WordPress sites by uploading the zip file.

How to build a package?

Please, check the instructions on our documentation pages.

How to contribute with code

We will review and contact you as soon as possible.

Development

React

We use React to build part of the user interface. The sources files are named with the extension JSX. Which is optional on React, but provides a way to write modern code and compile to be compatible with legacy browsers. We use babeljs.io with the presets: react and es2015 to compile to JS files.

Compiling JSX files to JS

You can install Babel on your environment following its documentation. But here we will describe how to use a Docker container for that.

$ docker run -it --rm -v `pwd`:/app ostraining/node-babel:latest bash

To compile one file

# babel src/modules/efmigration/lib/js/efmigration.jsx --out-file src/modules/efmigration/lib/js/efmigration.js

To watch a folder automatically compile changed files

# babel -w src/modules/efmigration/lib/babel -d src/modules/efmigration/lib/js

License

License: GPLv2 or later