Skip to content

Instantly share code, notes, and snippets.

@spasovski
Created December 21, 2016 21:29
Show Gist options
  • Save spasovski/3d70f7ddb17457df1c51ad308aa8b921 to your computer and use it in GitHub Desktop.
Save spasovski/3d70f7ddb17457df1c51ad308aa8b921 to your computer and use it in GitHub Desktop.
Dependencies:
1. Python 2.7
2. Redis
3. PostgreSQL
4. Node.js
Create virtualenv then:
pip install -r requirements.txt
pip install -r requirements_dev.txt
Create the DB:
`createdb redash`
`./bin/run python manage.py database create_tables`
`./bin/run python manage.py users create --admin --password admin "Admin" "admin"`
Front-End:
npm install
npm run bower install
npm run build
Start Workers:
/bin/run celery worker --app=redash.worker --beat -Qscheduled_queries,queries,celery -c2 -linfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment