Giter Club home page Giter Club logo

doctopus's Introduction

Doctopus

Build Status

Read The Docs is a terrific project... as long as you want to use Sphinx. In our day-to-day as coders, we might write all manner of things -- Java with JavaDocs, folders full of .markdown, custom JavaScript analyzers. They're all perfectly capable of being typeset to HTML. It's time to make it a heck of a lot easier to get them on the web.

Doctopus is a framework for taking a project full of something-HTML-able, generating that HTML, and serving it on the Internet. Or, if you like, it's like RTD without the RST dependence. Also: it's trivial to host. (Not everything should be public, y'know?)

It's also... a work in progress. Like.... very in progress. Go easy on it.

Installation

This bit is simple, as long as you've got lein 2+ and git installed:

        > git clone doctopus
        > cd doctopus
        > lein deps

This'll get almost everything you need downloaded.

You will also need an instance of Postgres 9.3 or higher running somewhere with a fresh database to use.

Now you have a choice:

Local Configs

You'll want to mosey on over to the resources directory and make a configuration-local.edn by copying the template. Get a value or two configured in there and you'll be good to go to get the whole thing spun up:

    > NOMAD_ENV=DEV lein trampoline run

(You can, of course, set NOMAD_ENV in the rc file of your choice.)

ClojureScript

ClojureScript is build with cljsbuild, which has a few different profiles that you can use to build. If you're only interested in trying things out, the simplest is to build with the default profile:

lein cljsbuild once

This will get you set up to run the local server.

For development, figwheel is included. Do the following to get the figwheel server running and autobuilding:

lein figwheel

Note: ClojureScript building for the local dev environment assumes your lein environment is :dev; which is the case by default.

SASS

The stylesheets are currently checked into the repository as compiled CSS and as the source SASS, since they cannot be compiled without the help of an external tool. If you're not working on styles, you can just use what's included, but if you'd like to make style changes, you'll need either node-sass or the sass Ruby Gem.

To compile with node-sass:

npm install -g node-sass
cd resources/public/assets/styles
node-sass --include-path ./sass --watch ./sass --output ./css ./sass

This will set up an auto-watching build server for CSS.

Usage

Right now: you don't.

Free-range TODO List and Known Improvements

See the issues.

License

Copyright © 2015 Ross Donaldson

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

doctopus's People

Contributors

fardog avatar gastove avatar gmcquillan avatar jarofghosts avatar

Watchers

 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.