Skip to content

Using Vagrant and Ansible, I deploy Caravel to visualize Global Temperature Data

Notifications You must be signed in to change notification settings

dhafley/GlobalAvgTemperatures

 
 

Repository files navigation

Global Average Temperatures

This is an automated deployment of a web app built using Caravel to visualize average temperature readings for major global cities since 1750.

The data set comes from user Berkeley Earth on Kaggle and has been uploaded into a sqlite database.

This build utilizes Vagrant for virtualization and Ansible for provisioning.

Required:

For running on Windows:

Installation Instructions:

  1. Navigate to your directory and enter

vagrant up

  1. When build is complete, enter

vagrant ssh

  1. Load the app by entering

sudo caravel runserver

  1. In your browser, navigate to

localhost:8080

  1. Login with
  • Username: admin
  • Password: password

Known Issues:

  • This build of Caravel is not connecting to the .db file properly, meaning Caravel loads as a blank slate.
  • Automating the last step (running the server) causes Ansible to enter an infinite loop, so additional installation instructions were added above as a workaround.
  • Using a local install of Ansible instead of the linked plugin causes issues with provisioning.
  • Tests coming soon

About

Using Vagrant and Ansible, I deploy Caravel to visualize Global Temperature Data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%