Media manager written for the WordPress.com & Jetpack REST API.
JavaScript CSS
Switch branches/tags
Nothing to show
Latest commit 5a9c113 Oct 20, 2014 @jkudish jkudish Revert "safari bug"
This reverts commit 7f2c37a.

Not sure why app/config.js was removed, seems like an accident
Permalink
Failed to load latest commit information.
app Revert "safari bug" Oct 20, 2014
css Safari bug fix May 23, 2014
fonts Add JS files needed, and bootstrap. May 15, 2014
images
js add momentjs for formatting the date May 18, 2014
.gitignore
README.md Update README.md May 23, 2014
index.html

README.md

sulfur

Media manager written for the WordPress.com & Jetpack REST API.

Displays all files uploaded to the connected blog and allows you to upload new ones.

Live demo: sulfur.herokuapp.com.

Requirements

Sulfur is a standalone web application that sends requests to the WordPress API. So in order to run it, you only need two things:

  1. Some kind of webserver. Apache/nginx/etc.
  2. An application on developer.wordpress.com/apps.

Installation - Apache

  1. git clone https://github.com/Automattic/sulfur (easiest to do this into Apache's document root).
  2. Ensure the Apache user has access to the sulfur directory and all parent directories (chgrp -r www usually works).
  3. Configure your webserver to serve it from your sulfur directory.

On development servers, you can fake the domain:

  1. Set your hostfile to map sulfur.dev to 127.0.0.1 (or the IP of the server that will be running it).
  2. Use a virtual host configuration so Apache knows you want "sulfur.dev" served from the sulfur directory.

Then, point your browser to the configured domain.

Application Setup

The application requires a callback URL in order to authenticate with WordPress.com. This can be localhost, or a fake domain, if you just want to test it out locally.

  1. Create an app on developer.wordpress.com.
  2. Set the Redirect URL to your app's URL (e.g. sulfur.dev).
  3. Whitelist your domains in the JavaScript origins. Incluing https:// if applicable.
  4. Edit app/config.js to include your app's Client ID from WordPress.com.