akesterson / mercy Goto Github PK
View Code? Open in Web Editor NEWMercy is a web application designed to facilitate payments between people who need prescriptions but can't afford them, and charitable people who can afford them
Mercy is a web application designed to facilitate payments between people who need prescriptions but can't afford them, and charitable people who can afford them
This stored procedure should be exceedingly fast and should return just enough information to populate simple web forms, or to perform further queries.
See summary
See summary, the nagios check needs to report the time since the last sync, and if the database has not recorded a new sync in the required amount of time (every Monday), go critical.
See summary. This tool should be suitable for running from cron or from some scheduler inside the web app. The FDA data updates itself every Monday, and I'm not sure how often DrugBase updates.
See the wiki on notes ( https://github.com/akesterson/mercy/wiki/Notes ) for links to the respective database files.
http://www.metaltoad.com/blog/celery-periodic-tasks-installation-infinity
You CAN use celery without django, and threading flask to roll our own scheduler could be dangerous, so let's just do that instead.
This function should return all information about the drug from the FDA and DrugBank tables.
This procedure will be used by views and web functions that get detailed drug data
https://alembic.readthedocs.org/en/latest/tutorial.html
See the wiki on notes ( https://github.com/akesterson/mercy/wiki/Notes ) for links to the respective database files.
SQLAlchemy will let us write migration scripts, so let's deploy the DB that way instead of doing any kind of SQL hackery. We need to write an initial migration that will setup the FDA and DrugBank tables appropriately. (I don't yet know what those tables will look like.)
This migration needs to be part of the puppet module's installation process as well.
Note that this blocks #1
Each check should test a specific database function. Will need to warn and go critical at reasonable times (to be determined after finishing those functions). Warning should indicate that someone needs to look at refactoring those queries, critical means we're about to start having queries time out.
Since advertising for help, everyone has pointed out that I fail to have any good mockups, so they don't know what we're building.
Go to Balsamiq and make some mockups!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.