metadata-for-democracy's People
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 a function that, given the name of an organization on github, returns a list of its public repos
Write a function that, given the name of an organization on github, returns a list of its public repos.
This function should be in ./snapshot/take.py.
Web hook recognizes new task creation
Write code in the web hook to recognize when a payload contains information about a new task in github.
Run PostgreSQL on a non-standard port
In order to avoid conflicts in development, configure PostgreSQL to run on a port other than the default.
Add coding standards section to readme
Add a section of basic coding standards to the readme for this repo.
API and web hook containers run code from their home directories
Update the docker files in the api and webhook directories so that they execute the code found in their home directories.
Documentation for the flask containers we're using can be found here.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.