GithubHelp home page GithubHelp logo

isabella232 / sulfur Goto Github PK

View Code? Open in Web Editor NEW

This project forked from automattic/sulfur

0.0 0.0 0.0 971 KB

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

JavaScript 92.86% CSS 2.53% HTML 4.61%

sulfur's Introduction

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.

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.

sulfur's People

Contributors

apeatling avatar codebykat avatar jkudish avatar jonathansadowski avatar justinshreve avatar kellychoffman avatar retrofox avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.