github

Automattic / simplenote-electron

  • суббота, 13 августа 2016 г. в 03:14:03
https://github.com/Automattic/simplenote-electron

JavaScript
A Simplenote React app packaged in Electron



Simplenote for Electron

Screenshot

A Simplenote React client packaged in Electron. Learn more about Simplenote at Simplenote.com.

Development Requirements

Running

  1. Clone the repo: git clone https://github.com/Automattic/simplenote-electron.git
  2. Create a new file in the root directory, named config.js
  3. Add the Simplenote application id and token to config.js
module.exports = function() {
  return {
    app_id:     "your-app-id",
    // For creating/authenticating users
    app_key:    "yourappkey"
  };
};
  1. npm install
  2. npm start
  3. Open http://localhost:4000. You can sign in to the app with your Simperium credentials.

Note: Simplenote API features such as sharing and publishing will not work with development builds.

Electron

Install electron globally npm install -g electron-prebuilt, then:

  1. Run npm run build
  2. Run electron .

Coding Guidelines

Please adhere to the same guidelines as found in wp-calypso.

Dependencies