+
Skip to content

aleou/shid

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open source ready-to-use hospital infrastructure deployment tool

Docker Python Flask JavaScript TailwindCSS MongoDB

Introduction

Early in 2020, the Ministry of Armed Forces of France announced their call for new projects to fight against the pandemic and were looking for new and innovative solutions to help civil servants, mostly in hospitals and similar sensitive places by using some recent technologies.

While the applications are currently officially closed, our university requested to their students to make and create their own solutions and submissions. Local authorities will be contacted for the most interesting, serious and innovating projects selected by our university.

Short description

To respond to this call, us, a group of 4 students decided to create a small service (likely a prototype) which will be easily manageable and deployable (with Docker) to quickly deploy an infrastructure (server) for health/medical services with an intranet (website), database and API, without needing any special knowledge on development.

Key features

  • Ready-to-go. Using Docker to deploy and configure all dependencies automatically
  • User friendly startup. You can easily configure your infrastructure directly from the UI
  • Using real frameworks. Frontend made with WindiCSS, powered by TailwindCSS's amazing features
  • Real time stats. Select and display important/key values to be live-fetched with an API
  • Patients management. Add, create/edit/delete patients information with multiple privacy/permissions checks
  • Organization. Permissions presets, configurable permissions, manage multiple departments with an administration panel

Installation

  1. Clone this repository. git clone https://github.com/eri/shid.git
  2. Install Docker Compose.
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

If this command fails, you would try alternative methods which are referenced here.

  1. Check if docker-compose is installed properly. docker-compose --version
  2. Create new images and containers by using the config from the /Dockerfiles directory. sudo docker-compose up -d

If your Flask container is stopped after the end of this step and/or have a No such files or directory error:

  • Consider renaming your app folder as .app
  • Delete your containers and images
  • Run the sudo docker-compose up -d command again.
  1. The website should be now accessible from your_ip:5000 (ex: 55.12.455.52:5000) and MongoDB must be available at the port 27277. Consider updating the ports from the docker-compose.yml file to keep things secure.

Planned

  • Work routine tool. See and manage your recent activities, personal notes and daily/weekly/monthly planning
  • Real-time messaging. Messaging between workers and other health departments, to stay connected without using third party platforms

Dependencies & Tools

Collaborators

About

Open source ready-to-use fast hospital deployment tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 62.3%
  • Python 25.4%
  • JavaScript 10.7%
  • Dockerfile 1.6%
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载