|

Superset Heroku Installation – Microsoft SQL Server Database Connection on Windows PC

  1.  Clone this github repository into YOUR OWN repository
  2. and Edit the link in the  Readme.md file from https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/dugjason/superset-on-heroku to the link in YOUR OWN CLONED repository eg. https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/benadaba/hrmr
  3. Now scroll down and COMMIT (save) the changes
  4. ALSO edit the requirements.txt file and include any database requirements you want installed . eg pymssql==2.1.3, pyodbc==4.0.21 (this version was generating an error , so you can search a version which will work for you)
  5. ALTERNATIVELY you can follow the GIT steps here to create empty repository in your ONLINE GITHUB ,  then create a LOCAL git repository on your own local computer and clone the files this repository into the local repository , THEN edit the LINK as above and ALSO add any database requirements you need example pymssql==2.1.3, pyodbc==4.0.21, etc all LOCALLY and  PUSH the changes BACK to YOUR OWN online GIT repository.
  6. Now , you can GO to YOUR OWN online github page eg Go to github page: https://github.com/benadaba/hrmr and then start your superset heroku installation
  7. (THIS MEANS, YOU CAN ADD ANY REQUIREMENTS OR CHANGES YOU want to the runtime.txt and other files before actually using the ONE-CLICK install . This is because sometimes once they are installed on heroku, it is a bit combursome to effect changes to them. But be sure, you know what you are doing before you do any changes to these files)
  8. Follow instructions and use the one-click button to install the superset on heroku.
  9. Follow Heroku onscreen instructions to install.
  10. Once installation is complete come back to the this (YOUR CLONED GITHUB REPOSITORY VERSION ) page https://github.com/benadaba/hrmr and follow the “After deployment” instructions. You can CLONE to a NEW LOCAL directory or same one if you use the ALTERNATIVE method above
  11. When you face the error ‘You appear to have cloned an empty repository’  visit this page to solve the ‘You appear to have cloned an empty repository’ when using `heroku git:clone`
  12. After cloning to your LOCAL repository . Follow the steps here https://github.com/benadaba/hrmr to create an admin USER
  13. After you create your Admin user , you can now log into your app and start configuring to your requirements
  14. IF you want to MAKE further changes once you app is live, you will have to do that via heroku git
  15. Follow instructions in the DEPLOYING WITH GIT here on how to make changes locally and push to heroku git
  16. For an existing heroku app ( which will in our case , since our app is already existing ) we can set our LOCAL directory where we will be making the LOCAL changes to point to the heroku git as described here
  17. Before you can push changes you will first have to add the changes, by using git command “git add .”
  18. You can check the status after adding any changes by git , using the “git status” command
  19. Then you will have to commit the changes using “git commit -m [message for the chanage] “
  20. Then push your changes to the heroku master.

Hope this helps.

 

Want more information like this?

Similar Posts

  • | |

    Entity Relationship Diagram – ERD and Cardinality Symbols Simple Explanations

    Understading cardinality notation and being able to explain them will go a long way in your database design and implementation. Here we look at a simple explanation of the symbols. (Credit to Data Warehousing for Business Intelligence by University of Colorado System on Coursera) Symbols in the above diagram and their meanings: – Oval: means 0 –…

  • | |

    Coursera Capstone Project – Data Analysis and Interpretation

    What is it This week, I started the Data Analysis and Interpretation Capstone by Wesleyan University on Coursera. This is the final of 5 course specialisation. The capstone project is expected to take 4 weeks. With each week tackling and doing a major component of the Project work.   What is the objective The objective of…

  • Getting Python Spyder Anaconda IDE To Work Using Virtualenv

    If you have some Python scripts which rely on some packages that need a different version other than the version your Python Spyder uses, you can simply use Python Virtualenv to run Spyder IDE . This will save you a lot of headache and you can simply continue with your development projects. This tutorial will…

  • Matplotlib Pyplot Plt Python Pandas Data Visualization Plotting

      This is some quick notes about graphing or plotting graphs with Matplotlib in Python. Credits to sentdex.  You can check him out on Youtube.

      In [4]:

      In [10]:

      In [14]:

      In [20]:

      In [23]:

      In [30]:

      Out[30]:

    In [48]:

        Want more information like this? Email People…

  • | |

    Using Subqueries To Join 2 More Tables Which Do Not Have Unique Primary and Foreign Keys

    Using Subqueries to join 2 more tables which do not have distinct values in a column We want to find the number of Flight bookings by Country, number of Car bookings by Country and the number of Hotel bookings by Country all appearing in one table with same country on one row. We want to…

  • | |

    Running a Random Forest – Data Analysis and Intrepretation

    Overview My research work deals with Ghana, a country from the Gapminder dataset as has already been discussed from the beginning and progression through this course. The variables in my observation dataset are all quantitative. For the purposes of this assignment, I have binned my quantitative target variable, Life Expectancy (lifeexpectancy) into a 2-level binary categorical target variable. I have named…

Leave a Reply

Your email address will not be published. Required fields are marked *