Giter Club home page Giter Club logo

metadata-for-democracy's People

Contributors

gati avatar geckya avatar jake-bladt avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

metadata-for-democracy's Issues

Get database building in container

Update the database docker file so that it starts up and runs any scripts found in /db/migrations. To get any environmental variables needed for running the database in the container, expect there to be a script in the root of the project called secrets.sh that sets the variables you need with the prefix MD4D_DB_ (ie, if you're passing in POSTGRES_PASSWORD, expect that the host will have an environmental variable called MD4D_DB_POSTGRES_PASSWORD that you can use.)

Create and dockerize gross structure for project

Create a file structure to isolate the api, github listener, and snapshot code.

Create docker files and a docker-compose to run the api, github listener and database.

For this iteration, assume PostgreSQL and Python 2.

Write initial deployment scripts

Write a script or set of scripts that can be called on a Debian-branch (read Ubuntu) box or a Macintosh to start the services from a fresh github pull.

Script creation of database

Write the initial scripts for creating a database to hold the information required by version 1. This includes the following tables: organization, repository, issue.

SQL scripts should go in the ./db/migrations directory (which doesn't exist yet.)

Documentation for the Postgres image can be found here.

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.