Code Monkey home page Code Monkey logo

io's Introduction

This project is deprecated.

Substance IO

A minimal publishing solution based on Pandoc Markdown and Substance.

Development Status

Development of substance.io has been delegated to another repository.

This repository is deprecated.

Prerequisites

  • Node.js >=0.10.x
  • Pandoc >= 1.12.02 (for Markdown cross-compiling)

Install (Deprecated)

Substance.IO comes as a ready-to-use NPM module:

$ sudo npm install -g substance-io

To view a document library (such as Substance Documents) call:

$ cd /path/to/library
$ io

Or alternatively you can point to that folder using:

$ io <path-to-library-folder>

Managing collections and documents

Documents are managed by convention in a directory structure having folders for collections and subfolders for documents. For example:

mylibrary/substance                    # collection folder
mylibrary/substance/index.json         # collection metadata
mylibrary/substance/about              # document folder
mylibrary/substance/about/index.json   # document metadata
mylibrary/substance/about/content.md   # source markdown

This would define a library with one collection with id substance having one document with id about.

Development Environment

For development we use a setup based on our Screwdriver command line utility. It's just a little helper that makes dealing with our many modules easier.

$ git clone https://github.com/substance/screwdriver.git
$ cd screwdriver
$ sudo python setup.py install

Clone the io repo.

$ git clone https://github.com/substance/io.git

Run the update command, which pulls in all the sub-modules and dependencies.

$ cd io
$ substance --update

Finally start the server and point your browser to http://localhost:5000.

$ substance <path-to-library-folder>

io's People

Contributors

oliver7654 avatar michael avatar yookoala avatar

Watchers

Alvar Laigna avatar James Cloos avatar  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.