Giter Club home page Giter Club logo

opd-product-browser-web's Introduction

Product Open Data

This is a repository of code, documentation and database scripts for the Product Open Data project currently hosted at http://product-open-data.com/. The goal of Product Open Data is to build a public database of product data. For more information, please visit http://product.okfn.org.

The code is written in PHP with a MySQL database backend.

Dockerized Development Instance

Prerequisites

Make sure you have Docker and Docker Compose installed.

Clone this repository

git clone https://github.com/okfn/product-browser-web.git

Run the setup script

cd product-browser-web/scripts/dockerfiles
wget -O - http://dfowler.sixbit.org/products.sql.gz | \
  gunzip -c > pod_mysql/products.sql
docker-compose --project-name pod up

Import the database

docker exec pod_db_1 sh -c \
  'mysql -uroot -p"$MYSQL_ROOT_PASSWORD" \
  "$MYSQL_DATABASE" < products.sql'

Access the local development instance

Your local copy of Product Open Data should now be running on port 18080 of your Docker host.

opd-product-browser-web's People

Contributors

philippeplagnol avatar danfowler avatar nickstenning avatar mibou avatar patrickhoefler avatar fabricetheytaz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.