chowe99 / goink

MIT License
0 stars 0 forks source link

Goink: Visualizing Open Source Datasets

Overview

Goink is a web application designed to help users visualize data retrieved from open-source datasets, such as those available on data.gov and World Bank. With Goink, users can access and view visual representations of various public datasets, making it easier to explore and understand important statistics like crime rates, average income, or other socio-economic indicators for a specific area.

See data tools for useful tools and a preexisting data visualiser.

The application aims to simplify the exploration of public data by offering an intuitive interface to view the data and gain insights that can help users make data-driven decisions.

Features

Application Structure

The Goink project is a Django application and follows a standard Django project structure:

Getting Started

Prerequisites

To install Node.js and npm:

# On Ubuntu/Debian
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs

# On macOS (using Homebrew)
brew install node

Installation

  1. Clone the repository:

    git clone https://github.com/chowe99/goink.git
  2. Build and start the application using Docker Compose:

    docker-compose up --build

    This will set up the web service along with a PostgreSQL database.

  3. Access the application by navigating to http://localhost:3000 in your web browser.

Running the Scraper

The application includes a scraper to gather data from open-source datasets. To initiate data scraping, navigate to /scraper/scrape/ in your browser or execute the scraping logic through Django views.

Running Tests

To run unit tests:

python manage.py test

Configuration

Development

Installing Dependencies

To install the required dependencies, run:

pip install -r requirements.txt

Starting the Development Server

To start the development server locally without Docker:

python manage.py runserver

The server will be accessible at http://127.0.0.1:8000/.

Deployment

Goink can be deployed using Docker. The provided docker-compose.yml file includes all necessary configurations for running the Django application alongside a PostgreSQL database.

For deploying to production:

Contributing

We welcome contributions from the community. Please see the CONTRIBUTING.md for more information on how to get involved.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any inquiries please find us on Discord.

We hope you enjoy using Goink and look forward to your contributions!