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.
Sulfur is a standalone web application that sends requests to the WordPress API. So in order to run it, you only need two things:
- Some kind of webserver. Apache/nginx/etc.
- An application on developer.wordpress.com/apps.
Installation - Apache
- git clone https://github.com/Automattic/sulfur (easiest to do this into Apache's document root).
- Ensure the Apache user has access to the sulfur directory and all parent directories (
chgrp -r wwwusually works).
- Configure your webserver to serve it from your sulfur directory.
On development servers, you can fake the domain:
- Set your hostfile to map sulfur.dev to 127.0.0.1 (or the IP of the server that will be running it).
- 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.
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.
- Create an app on developer.wordpress.com.
- Set the Redirect URL to your app's URL (e.g. sulfur.dev).
app/config.jsto include your app's Client ID from WordPress.com.