Quick Start
Get FastGIS running locally in a few minutes.
Prerequisites
- Python ≥ 3.10
- GRASS GIS ≥ 8.x installed and on
PATH - A running MapServer instance (optional — layers still load without it)
1. Clone and install
git clone https://github.com/epifanio/FastGIS.git
cd FastGIS
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
2. Configure
Copy the example environment file and fill in your values:
cp .env.example .env
Key variables:
| Variable | Description |
|---|---|
SECRET_KEY | Session signing key — use a random 32-char string |
GRASS_GISDBASE | Path to your GRASS database directory |
MAPSERVER_URL | Base URL for your MapServer instance |
3. Start the server
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
Open http://localhost:8000 in your browser.
4. Generate an API token
- Navigate to Settings → Profile
- Click Generate token
- Copy the token — you will paste it into the Connection panel in the GRASS Runner
5. Open the GRASS Runner
Click GRASS Runner in the navigation bar. Paste your token and base URL into the Connection panel, then click Connect & load environments.
:::tip First run If the connection panel is missing, make sure you're logged in and that the server started without errors. :::
Next steps
- Architecture — understand what each component does
- Connecting — detailed connection options