Skip to content

builtbyspec/climate-change

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

climate-change

Usage

  1. Install necessary libraries if missing
     pip install dash
     pip install dash-daq
     pip install dash-bootstrap-components
     pip install pandas
     pip install gunicorn
    

Running Locally

  • Navigate to folder containing app.py
  • Run:
    python app.py
    
  • Visit http:127.0.0.1:8050/ in your web browser.

Heroku Deployment

Note: Make sure project has a github repo before deployment

  • Download Heroku cli

  • Run:

    heroku create climate-change
    git add . # add all files to git
    git commit -m 'Initial app boilerplate'
    git push heroku master # deploy code to heroku
    heroku ps:scale web=1  # run the app with a 1 heroku "dyno"
    heroku open
    
  • You should be able to view your app at https://spec-climate-change.herokuapp.com

File Structure

  • data folder should contain all data files.
  • assets folder should contain images, css, and js files.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •