Skip to content

Instantly share code, notes, and snippets.

@kakoni
Last active February 23, 2018 02:01
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kakoni/29b210c2b5754dba719c6e3c0edd441f to your computer and use it in GitHub Desktop.
Save kakoni/29b210c2b5754dba719c6e3c0edd441f to your computer and use it in GitHub Desktop.
Redash under centos 6.x
Dependencies:
1. Python 2.7
2. Redis
3. PostgreSQL
4. Node.js
1. Install Python 2.7
Get python 2.7 from IUS
rpm -i https://rhel6.iuscommunity.org/ius-release.rpm
yum install python27 python27-virtualenv
2. Install redis
yum install redis32u-3.2.6
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