I deployed Superset on Ubuntu 14.04 from the source code and it works fine. Now I want to play with the superset code to make required changes. Like adding the Png downloadable option for charts.I made changes but it didn't reflect Superset build. How to make changes in Superset code that should reflect Superset on browser? code Build Process:
git clone https://github.com/airbnb/superset
cd ${SUPERSET_HOME}/superset/assets
- npm install : Will install the npm dependencies
- pip install virtualenv : Will install virtualenv
- virtualenv venv : Set virtualenv
- . ./venv/bin/activate : activate virtualenv
- pip install --upgrade setuptools pip : Will upgrade
- npm run prod : Set NODE_ENV variable and run dependencies
- cd ${SUPERSET_HOME}
- python setup.py install
//Create an admin user : fabmanager create-admin --app superset
//Initialize the database : superset db upgrade
//Load some data to play with : superset load_examples
//Create default roles and permissions : superset init
//To start the server : superset runserver -p 9002
You can read all the details here: https://github.com/airbnb/superset/blob/master/CONTRIBUTING.md#setting-up-a-python-development-environment
The main idea is to install for development using:
And run dev server: