Giter VIP home page Giter VIP logo

promed's Introduction

Promed DELUXE HMS v2.2

A Complete HMS based on LAMP stack using docker-compose

Usage

sudo docker-compose up

Instructions

PHP

  • Add db_lang.php

mySQL

  • if you are using phpMyAdmin then change the "sql_mode" setting as mentionedthe in below screenshot. phpmyadmn > variables > sql_mode = ''

K8S

Kompose

We need kompose to translate docker-compose.yml to K8S yaml resource files.

curl -L https://github.com/kubernetes/kompose/releases/download/v1.21.0/kompose-linux-amd64 -o kompose
kompose up

Docker login (if not setup)

sudo groupadd docker
sudo usermod -aG docker $USER

Reboot

newgrp docker
Docker login

Install minikube

Minikube is a tool that runs a single-node Kubernetes cluster in a virtual machine on your personal computer.

curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 \
  && chmod +x minikube
sudo mkdir -p /usr/local/bin/
sudo install minikube /usr/local/bin/
minikube start

Covert docker-compose.yml to yaml resources

Run the kompose up command to deploy to Kubernetes directly, or skip to the next step instead to generate a file to use with kubectl.

kompose up

Or without building docker images

kompose up --build none
kompose convert -f docker-compose.prod.yml -o kubemanifests.yaml
kubectl apply -f kubemanifests.yaml

--> Navigate to localhost or 127.0.0.1

Instruction in case of deploying on a Shared Hosting

Create a MySQL database Import promed.sql Edit public_html/application/config/database.php file

promed's People

Contributors

ayoubbensakhria avatar

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.