# Hosting environments

{% hint style="warning" %}
These pages may require some technical knowledge about server hosting and deployment. If the content of this page feels unfamiliar to you, get someone acquainted with information technology (IT) to help you.
{% endhint %}

A Terrastories server can be hosted in a number of different environments, online and offline. We have developed workflows for several use cases that we have commonly encountered; however, as an application deployed using virtualization through Docker, there are numerous other ways that Terrastories may be hosted.

Currently, we have workflows, setup scripts, and documentation for the following four hosting environments:

* [hosting-terrastories-online](https://docs.terrastories.app/setting-up-a-terrastories-server/hosting-environments/hosting-terrastories-online "mention")**:** It is relatively easy to deploy Terrastories online, as most web applications are created for online usage and so services like Heroku, DigitalOcean, and others are designed to easy online employment. We currently have instructions designed for Heroku (where Digital Democracy hosts the <https://our.terrastories.app> server) and hope to have instructions for other services soon. <br>
* [hosting-terrastories-offline-as-a-field-kit](https://docs.terrastories.app/setting-up-a-terrastories-server/hosting-environments/hosting-terrastories-offline-as-a-field-kit "mention"): For an entirely offline use case, we have a workflow where Terrastories can be set up a computer which serves the application through a hotspot. Other devices connected to that hotspot can then load Terrastories through the browser.<br>
* :chocolate\_bar: **Hosting Terrastories on Kakawa (Earth Defenders Toolkit Offline)**: Terrastories also comes bundled on [*Kawaka*](https://www.earthdefenderstoolkit.com/deploy/). Please see the documentation for using Kakawa [here](https://docs.earthdefenderstoolkit.com/overview/introduction).<br>


---

# 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.terrastories.app/setting-up-a-terrastories-server/hosting-environments.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.
