Initial dev setup

  • Obtain the Redash source code by cloning the repository, and enter the Redash directory (very important):
      git clone [email protected]:getredash/redash.git
      cd redash/
  • After cloning Redash and entering the Redash directory, you need to create the Docker services:
      docker-compose up

This will build the Docker images and fetch some pre-built images before starting the services that are necessary for Redash operations (Redash web server, celery workers, PostgreSQL, and the Redis Key-Value store). You can refer to the docker-compose.yml file (if located under the Redash root directory) to see the full configuration of Docker-related services.

  • Install the npm packages (npm is the default package manager for the JavaScript runtime environment Node.js):
      npm install
  • Create the Redash Operational Database. First of all, you will need to create the tables, as follows:
      docker-compose run --rm server create_db
  • And then, create the database for tests:
      docker-compose run --rm postgres psql -h postgres -U postgres -c   
"create database tests"
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset