Skip to content
sql tips
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
create-data.sql
create-tables.sql

README.md

redash-tips

basics

  • Python (2.7)
  • PostgreSQL (9.3 or newer)
  • Redis (2.8.3 or newer)
  • Node.js (v6 or newer)

create db

-- as root
create user redash;
create database redash;
grant all on database redash to redash;
-- as root
create user coolec;
create database coolec;
grant all on database coolec to coolec;
-- as coolec
create schema coolec_api authorization coolec;
# create .env file and put the following before running create_tables script
export REDASH_DATABASE_URL="postgresql://redash@localhost:5432/redash"
bin/run ./manage.py database create_tables

start services

./bin/run ./manage.py runserver --debugger --reload
./bin/run celery worker --app=redash.worker --beat -Qscheduled_queries,queries,celery -c2
npm run start

create dummy data

You can’t perform that action at this time.