/satturn

A file editor with support for markdown and json

Primary LanguageCSS

Satturn File Editor

An interface to author orioles including a markdown editor and an annotating tool. Eventually will be used other content types

Installation

You will need node and npm.

Install dependencies:

npm install

Usage

npm start

Development

npm run develop

This app uses a very simple file read/write api written in go. There's probably no need to make changes to it but the standard building scripts needs go to be able to build it.

  • install go
  • place this folder in the GOPATH folder structure convention ($GOPATH/src/github.com/oreillymedia/satturn)
  • go to the api subfolder and install the dependencies with go get
  • To build npm run api:build will create a binary for your machine and another one targeting linux servers.

Building and versioning

We're using npm's scripts and versioning tools.

This script builds everything and pushes a tag to github.

npm version {major,minor,patch}

This can be used to clone just the desired version of the package:

git clone --branch v0.2.3 --depth 1 https://github.com/oreillymedia/satturn.git /your/destination/path/

This produces two self contained binaries. You don't need anything else to run the app.

backend/server (for your machine)

backend/server-linux (for linux machines)