Code Monkey home page Code Monkey logo

gcd_docker's People

Watchers

 avatar

gcd_docker's Issues

Update migration workflow

  • auto create publishers dump with correct name (e.g., _DATE)
  • Auto determine TGD output dump name (e.g., _DATE)

Potential automation:

  • Load up environment
  • Import dump
  • Dump publishers
  • Perform migration

Move gcd > python > app to root project

It will be useful if some of the code is shared between gcd and tgd databases. So moving the python app code to a shared folder and mounting seems sensible.

Goal:

  • move app to project root
  • also move model into this folder
  • come up with a suitable folder/app name

Add license to match GCD

To make modifications to the original data, it makes sense to store the modified data in this repo. However, the project needs to be updated to ensure that the original GCD license is adhered to.

Goal:

  • add cc4 license, which matches GCD license
  • add info about contributing to GCD
  • add link to GCD where needed

Update migration scripts

Full:

  • remove date check
  • remove print statements

Partial:

  • insert for newly created
  • patch for recently modified

Python script to extract publisher ID to name JSON

I don't really use the publisher table apart from mapping the ID to name. To save a select query, dump a JSON file with ID to name mapping.

Goal:

  • script to dump ID to name JSON file
  • save json file in repo
  • remove publisher select queries from scripts
  • replace with ID lookup

Change data processing script to output sql file

When using the published_date conversion script (varchar yo datetime) the processing time is huge. A potential solution is to dump an sql file of sql statements. Future updates to this file could use the modified datetime value to only process specific issues, thus saving time.

Goal:

  • implement first pass at sql output
  • include table generation or column addition
  • include new datetime value for published date

Split project into GCD and TGD

Goal:

  • two folders in root directory for each DB
  • shared comics py module and classes
  • update makefile where needed

Start scaffolding new TGD DB with:

  • docker compose solution for DB and app

Change project name

Potential ideas:

  • cbdb (see bee dee bee)

Where to change:

  • repo name
  • python project name

Add tgd environment

Goal:

  • update docker compose file
  • create python container
  • create mysql container
  • load data into mysql
  • update makefile
  • write python test script

This should be very simple dev stack, to mess around with. Prod stack to be implemented in other project.

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.