# Github Pages (or elsewhere)

Github pages, or any static web provider, can absolutely be used to host WebGeoDa scaffolding! To export your site as a static, plain ol' JS, HTML, and CSS website, run the following commands:

```
npm run build 
npm run export
```

This will generate a folder named `out` that contains your generated site pages. Rename this to `docs` and then follow the tutorial below to set up a Github pages site:

{% embed url="<https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site>" %}

A few important notes here:\
\- GitHub does not have the same performance as Netlify or Vercel\
\- Static site exports will not support all Next.js features, like dynamic routes

With that said, you can take the built `out` folder generated in your repo to **any** static web hosting, or[ host it yourself! ](https://www.instructables.com/Host-your-website-on-Raspberry-pi/)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.webgeoda.org/deploy/github-pages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
