- Notifications
You must be signed in to change notification settings - Fork11
Api documentation for Origo
License
origo-map/origo-documentation
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Documentation for theOrigo web map framework.
Documentation is written as Markdown files in thecontent directory, and is organized by thecustom/content.js file - that file requires each documentation page and puts them in order
Requirements:
- Node v4 or higher
- NPM
- Git
To run the site locally:
- Clone this repository:
git clone https://github.com/origo-map/origo-documentation.git npm installnpm start- Openhttp://localhost:9966/
The npm run build command builds a bundle.js file that contains all the JavaScript code and content needed for deployment, and creates an index.html file that already contains the site content. Note that this replaces the existing index.html file, so it's best to run this only when deploying the site and to undo changes to index.html if you want to keep working on content.
To create bundle:npm run build
Note that the build script is adjusted for building in Windows. If building in non-Windows environment, the script should be changed to:"build": "NODE_ENV=production browserify src/index.js | uglifyjs -c -m > bundle.js && npm run prerender -- index.html"
The Origo documentation is based onDocbox, an open source project from MapBox.
About
Api documentation for Origo
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.