Coder Social home page Coder Social logo

geotrellis-site's Introduction

geotrellis-site

This project runs the site you see at http://geotrellis.io, is built with spray and is modified from the documentation of that project. It uses sphinx to generate documentation from reStructured text files located in the docs folder of the geotrellis-site repository checkout. The documentation is served from the site sub-project of the sbt build. If you want to contribute documentation make sure you can build and view the site locally. Follow these instructions to get the site project working locally:

Install sphinx (in Debian / Ubuntu install the python-sphinx package, for OS/X see this mailing list thread). Find the path of sphinx-build (in Ubuntu it’s probably /usr/bin/sphinx-build) Set the SPHINX_PATH environment variable to that path. Run sbt In the sbt shell use project site to change into the site project. Use compile to build the site, this will take some time when running for the first time (~ 1 - 3 minutes). Use re-start to start the local site server.

Note: re-start is a task from the sbt-revolver plugin which starts a project in the background while you can still use the sbt shell for other tasks.

Browse to http://localhost:8080 Use ~re-start in sbt to let it monitor changes to the documentation sources automatically. Edit the documentation files inside the docs subdirectory. After saving a file, it will be automatically picked up by sbt, then it will be regenerated and be available in the browser after ~ 1 - 5 seconds with a refresh of the page.

Many thanks to spray.io for the codebase, from which all of the implementation was derived.

geotrellis-site's People

Contributors

echeipesh avatar lossyrob avatar sconealone avatar lknarf avatar

Watchers

James Cloos avatar Jeff Frankl 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.