Skip to content

PublishPress is our main plugin. It's available here and on WordPress.org.

License

Notifications You must be signed in to change notification settings

deenison/PublishPress

 
 

Repository files navigation

PublishPress

Description

PublishPress is the essential plugin for any site with multiple writers: Content Calendar, Email Notifications, Custom Publishing Statuses and more.

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.

Documentation

https://publishpress.com/docs/

How to report bugs or send suggestions

Feel free to email us via help@publishpress.com. We would love to hear you, and will work hard to help you.

Guidelines

  • Write a clear summary
  • Write precise steps to reproduce

How to contribute with code

  • Clone the repository
  • Create a new branch
  • Implement and commit the code
  • Create a Pull Request targetting the "development" branch adding details about your fix

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/babel/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

Todo

Here are some changes on the development workflow which we are thinking about:

  • Improve the development workflow and build script to allow deploy to the SVN repo and other stuff (the shell scripts needs to be merged)
  • Improve tests and move to Codeception
  • Maybe move to Phing instead of Robo files

License

License: GPLv2 or later

About

PublishPress is our main plugin. It's available here and on WordPress.org.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 36.2%
  • HTML 28.1%
  • JavaScript 25.1%
  • CoffeeScript 5.9%
  • CSS 4.3%
  • Shell 0.4%