Skip to content

z1zzle/datahub

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

284 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dashboard Implementation

This repository was forked from the official Datahub project and does not have the latest update from the parent repository.

Installation Steps:

Build Image:

  1. Clone this repository in another directory.
  2. Switch to last_stable branch.
  3. Run docker build -t datahub:latest ..

Run Container:

  1. Clone dh-ghana repository (the version where it's still locally built - you can clone it from this fork).
  2. Copy the .env.example to .env: cp .env.example .env.
  3. Make sure to configure SECRET_KEY and DATAHUB_NAME in .env file.
  4. Run docker compose up -d and wait until localhost:8000 is available.

Import Data and Preprocess:

  1. Download latest .dump file from the official release page to the directory data/.
  2. Run docker compose exec datahub python manage.py restore data/<dump file>
  3. Run docker compose exec datahub python manage.py preprocess_shape_dl_year - This process can take a while (6-10 minutes in my case) as it's a synchronous process.
  4. Go to http://localhost:8000/dashboard/ to see the dashboard homepage.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 58.5%
  • HTML 21.3%
  • JavaScript 14.1%
  • CSS 2.7%
  • Svelte 2.1%
  • Makefile 0.5%
  • Other 0.8%