Skip to content

getredash/website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0bdafcf · Apr 1, 2025
Jan 9, 2025
Jun 22, 2024
Jan 9, 2025
Jun 22, 2024
Jan 21, 2019
Jun 22, 2024
Sep 9, 2024
Jun 22, 2024
Jan 21, 2019
Jan 21, 2019
Jun 27, 2024
Jan 21, 2019
Jan 21, 2019
Jun 22, 2024
Jan 9, 2017
Jun 22, 2024
Oct 9, 2023
Jun 22, 2024
Jun 9, 2019
Jun 29, 2024
Jun 22, 2024
Jan 21, 2019
Jan 21, 2019
Apr 1, 2025
Jan 21, 2019
Apr 1, 2025

Repository files navigation

Redash Website and Knowledge Base

We use Gatsby as our static site generator. The website is built and hosted with Netlify.

Updating contributors data file

yarn fetch-contributors > website/_data/contributors.json

Website development

Gatsby Installed Locally

To start Gatsby in development mode and serve the the website on http://localhost:8000 use:

yarn run develop

If you prefer Gatsby listen on an interface or IP address other than localhost, use:

yarn run develop -H ip_address

For example:

yarn run develop -H 10.11.12.13

Using a DNS name in place of an IP address will also work, assuming the DNS entry resolves to an IP address on the local machine. This can be achieved through editing your /etc/hosts.

Docker Setup

First install dependencies:

docker-compose run --rm gatsby install

On first run, it will build the Docker image we're using. Once the Node modules were installed, you can run the following to start the dev server:

docker-compose up -d

This will run gatsby develop in the Docker container in the background, listening on http://localhost:8000. The first time you run this command it might take a few moments for Gatsby to compile the website. You can check progress by tailing the logs:

docker-compose logs -f

You can edit the project locally and the changes will be reflected inside the Docker container.