Coder Social home page Coder Social logo

umd-lib / mdhc Goto Github PK

View Code? Open in Web Editor NEW
0.0 14.0 0.0 1.23 MB

Maryland History and Culture Bibliography

Home Page: https://digital.lib.umd.edu/mdhc

License: Apache License 2.0

Dockerfile 0.07% PHP 82.35% CSS 11.00% HTML 2.53% Hack 2.16% JavaScript 1.47% Shell 0.41%

mdhc's Introduction

MDHC

Maryland History and Culture Bibliography, PHP 5.3 app with Docker

Running docker

Place a copy of the mdhc MySQL database dump file in the data directory.

docker-compose build
docker-compose up

Alternatively, manually load or re-load the database dump file

cat data/*.sql | docker exec -i mdhc_mysql_1 /usr/bin/mysql --user=root --password=123456 mdhc

URLs/Ports

A MySQL client (such as MySQL Workbench) can connect to the database on port 3306.

Cleaning up and exporting the data

This script will fix some characters in place in the database, export to TSV, then convert to CSV. Final result is in data/export.csv

bash scripts/export.sh

TODO

  • Determine why some columns/rows are not aligning properly
  • Run the export automaticaly using the mysql container

License

See the LICENSE file for license rights and limitations (Apache 2.0).

mdhc's People

Contributors

wallberg avatar

Watchers

James Cloos avatar  avatar Joshua Westgard avatar Mohamed Mohideen Abdul Rasheed avatar Cindy Zhao avatar Shian Chang avatar Tim Kanke avatar Jeremy Gottwig avatar  avatar Peter Eichman avatar  avatar Tiffany Schoneboom avatar Hans Breitenlohner avatar  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.