Giter VIP home page Giter VIP logo

osmws.osgeo.nl's Introduction

osmws.osgeo.nl website

The files and dirs below are content for an OpenStreetMap Workshop.

This workshop was initially provided at the FOSS4GNL 2023 but is also intended to be reused and expanded for other/future events.

The documentation is powered by MkDocs which facilitates easy management of content and publishing. Content is written in Markdown.

Using GitHub Workflows the website is automatically rebuilt and deployed (to the gh-pages branch on GitHub) on commit/pushes to the main branch. The site is hosted as a static html website at osmws.osgeo.nl on GitHub using GitHub Pages.

Build/test locally

# build a virtual Python environment in isolation
# For example, or use pyenv.
python3 -m venv .
. bin/activate

# fork or clone from GitHub
git clone https://github.com/osgeonl/osmws.osgeo.nl.git
cd docs

# install required dependencies

# Optional: install lxml quickly using package
apt-get install -y python3-lxml

# install Python libs 
pip install -r requirements.txt

# build the website
mkdocs build

# serve locally
mkdocs serve  # website is made available on http://localhost:8000

# or locally on specific port
mkdocs serve -a localhost:8001

Deploying to live site

Website updates are automatically published via GitHub Actions.

Or to publish manually, but this is in general not needed:

# NOTE: you require access privileges to the GitHub repository
# to publish live updates
mkdocs gh-deploy -m 'add new page on topic x'

osmws.osgeo.nl's People

Contributors

justb4 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.