marquee-static-sdk
> This is _pre-release_ software. Unless you work at Marquee, or are one of its clients or partners, you probably should not do anything important with this yet.
Last updated 2 years ago by marquee .
Unlicense · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install marquee-static-sdk 
SYNC missed versions from official npm registry.

This is pre-release software. Unless you work at Marquee, or are one of its clients or partners, you probably should not do anything important with this yet.

Marquee Static SDK

NPM version Build Status

The Marquee Static SDK is framework for compiling web publications and deploying them into static hosting environments. The SDK as a whole is designed to work with the Marquee editorial suite and content platform, but parts of it may be used in a standalone fashion.

This package requires node and is distributed through npm. It assumes a willingness to work in a command line environment and a basic familiarity with node and git. Care is taken to keep the learning curve minimal, making projects developed using this SDK accessible to a wide variety of skill sets.

Technical Overview

The SDK provides components and tools for building compilers that compile structured content and code into HTML, JavaScript, and CSS for front-end presentation of a publication. While not required, the SDK facilitates using CoffeeScript (specifically CJSX) and Sass. The compiled output can then be deployed to scalable static hosting providers such as Amazon S3 and distributed across a content delivery network.

Included in the SDK is a local development server that automatically compiles changes, and an asset pipeline optimized for a browserify- and Sass-based workflow that provides minification and hashing in production mode. There is also a set of common components using React.js to generate markup as well as necessary client-side JS and structural styles.

For compilation on content-change, Marquee runs a service that executes per-publication compilers whenever a publication’s content is released. This service also will run a compiler when it receives a git push, providing a way to centralize publication deployments. The Marquee content platform also has a search endpoint that can be used client-side to provide full text search and facilitate more dynamic effects. Additional custom or third party microservices and backends may be used to create a rich, progressively enhanced reader experience.

Getting Started

Using the Marquee content platform with an requires a Publication Token for the corresponding publication. The best way to begin tinkering on a new SDK project is to clone the sample static project which includes a token for reading from a sample publication. By swapping this read-only token with another token issued through Marquee, the same SDK project could use another publication's content.

Note: the SDK has not been tested on Windows and very likely will not work properly. If Windows support is required, please create an issue.

  1. Make sure node and git are installed by running these commands:

    $ node --version
    v0.10.31
    $ git --version
    git version 2.3.1
    

    The Static SDK requires at least node v0.10.x. If you get a command not found error for node, go to nodejs.org to download and install node. Generally any version of git should work. If you do not have git, get it here.

  2. Create a new directory for your publication and extract the latest release of the sample project:

    $ mkdir <project name> && cd <project name>
    $ curl -L https://github.com/marquee/static-sdk-sample/tarball/0.1.0 > sdk-sample.tar.gz
    $ tar -zxf sdk-sample.tar.gz -C . --strip-components 1
    
  3. Start the development server with the following command:

    $ npm run develop
    

    Details about the process will scroll down the screen, but when it’s done, you can simply visit localhost:5000 to view the new project in a browser. It should look something like this. View source or poke around in the generated .dist/ folder of the project to see what the compiler generates.

  4. … make changes, etc

Current Tags

  • 0.6.0-alpha.21                                ...           latest (2 years ago)

85 Versions

  • 0.6.0-alpha.21                                ...           2 years ago
  • 0.6.0-alpha.20                                ...           2 years ago
  • 0.7.0-alpha.16                                ...           4 years ago
  • 0.7.0-alpha.15                                ...           4 years ago
  • 0.7.0-alpha.14                                ...           4 years ago
  • 0.7.0-alpha.13                                ...           4 years ago
  • 0.7.0-alpha.11                                ...           4 years ago
  • 0.7.0-alpha.10                                ...           4 years ago
  • 0.7.0-alpha.9                                ...           4 years ago
  • 0.7.0-alpha.8                                ...           4 years ago
  • 0.7.0-alpha.7                                ...           4 years ago
  • 0.7.0-alpha.6                                ...           4 years ago
  • 0.7.0-alpha.5                                ...           4 years ago
  • 0.7.0-alpha.4                                ...           4 years ago
  • 0.7.0-alpha.3                                ...           4 years ago
  • 0.7.0-alpha.2                                ...           4 years ago
  • 0.6.0-alpha.19                                ...           4 years ago
  • 0.7.0-alpha.1                                ...           4 years ago
  • 0.6.0-alpha.18                                ...           4 years ago
  • 0.6.0-alpha.17                                ...           4 years ago
  • 0.6.0-alpha.16                                ...           4 years ago
  • 0.6.0-alpha.15                                ...           4 years ago
  • 0.6.0-alpha.14                                ...           4 years ago
  • 0.6.0-alpha.13                                ...           4 years ago
  • 0.6.0-alpha.12                                ...           4 years ago
  • 0.6.0-alpha.11                                ...           4 years ago
  • 0.6.0-alpha.10                                ...           4 years ago
  • 0.6.0-alpha.9                                ...           4 years ago
  • 0.6.0-alpha.8                                ...           4 years ago
  • 0.6.0-alpha.7                                ...           4 years ago
  • 0.6.0-alpha.6                                ...           4 years ago
  • 0.6.0-alpha.5                                ...           4 years ago
  • 0.6.0-alpha.4                                ...           4 years ago
  • 0.5.0-alpha.6                                ...           4 years ago
  • 0.6.0-alpha.3                                ...           4 years ago
  • 0.6.0-alpha.2                                ...           4 years ago
  • 0.6.0-alpha.1                                ...           5 years ago
  • 0.5.0-alpha.5                                ...           5 years ago
  • 0.5.0-alpha.4                                ...           5 years ago
  • 0.5.0-alpha.3                                ...           5 years ago
  • 0.5.0-alpha.2                                ...           5 years ago
  • 0.5.0-alpha.1                                ...           5 years ago
  • 0.4.0-alpha.7                                ...           5 years ago
  • 0.4.0-alpha.6                                ...           5 years ago
  • 0.4.0-alpha.5                                ...           5 years ago
  • 0.4.0-alpha.4                                ...           5 years ago
  • 0.4.0-alpha.3                                ...           5 years ago
  • 0.4.0-alpha.2                                ...           5 years ago
  • 0.3.0-alpha.10                                ...           5 years ago
  • 0.4.0-alpha.1                                ...           5 years ago
  • 0.3.0-alpha.9                                ...           5 years ago
  • 0.3.0-alpha.8                                ...           5 years ago
  • 0.3.0-alpha.7                                ...           5 years ago
  • 0.3.0-alpha.6                                ...           5 years ago
  • 0.3.0-alpha.5                                ...           5 years ago
  • 0.3.0-alpha.4                                ...           5 years ago
  • 0.3.0-alpha.3                                ...           5 years ago
  • 0.3.0-alpha.2                                ...           5 years ago
  • 0.3.0-alpha.1                                ...           5 years ago
  • 0.2.0-alpha.5                                ...           5 years ago
  • 0.2.0-alpha.4                                ...           5 years ago
  • 0.2.0-alpha.3                                ...           5 years ago
  • 0.2.0-alpha.2                                ...           5 years ago
  • 0.2.0-alpha.1                                ...           5 years ago
  • 0.1.0-alpha.21                                ...           5 years ago
  • 0.1.0-alpha.20                                ...           5 years ago
  • 0.1.0-alpha.19                                ...           5 years ago
  • 0.1.0-alpha.18                                ...           5 years ago
  • 0.1.0-alpha.17                                ...           5 years ago
  • 0.1.0-alpha.16                                ...           5 years ago
  • 0.1.0-alpha.15                                ...           5 years ago
  • 0.1.0-alpha.14                                ...           5 years ago
  • 0.1.0-alpha.13                                ...           5 years ago
  • 0.1.0-alpha.12                                ...           5 years ago
  • 0.1.0-alpha.11                                ...           6 years ago
  • 0.1.0-alpha.10                                ...           6 years ago
  • 0.1.0-alpha.9                                ...           6 years ago
  • 0.1.0-alpha.8                                ...           6 years ago
  • 0.1.0-alpha.7                                ...           6 years ago
  • 0.1.0-alpha.6                                ...           6 years ago
  • 0.1.0-alpha.5                                ...           6 years ago
  • 0.1.0-alpha.4                                ...           6 years ago
  • 0.1.0-alpha.3                                ...           6 years ago
  • 0.1.0-alpha.2                                ...           6 years ago
  • 0.1.0-alpha.1                                ...           6 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (27)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |