Giter VIP home page Giter VIP logo

website's Introduction

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

This seems to depend on Node v10. Until the dependencies updated to support newer versions of Node, you can use the Docker setup.

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.

website's People

Contributors

arikfr avatar kocsmy avatar afoonalex avatar susodapop avatar ranbena avatar nagalsky avatar gaecoli avatar justinclift avatar kravets-levko avatar gabrieldutra avatar eradman avatar kakakakakku avatar yershalom avatar kyoshidajp avatar stefanseifert avatar restyled-io[bot] avatar daniellee-db avatar rspeicher avatar restyled-commits avatar ironistm avatar jpotts18 avatar amarjayr avatar adrienthiery avatar isdzulqor avatar logston avatar r0cketr1kky avatar romainr avatar yamatoya avatar yoshitaku-jp avatar timc13 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.