Skip to content

The patient's personal area of the "Medicine" project

Notifications You must be signed in to change notification settings

mkdevprogects/patients

Repository files navigation

README

{Build Status}[https://travis-ci.org/mkdevprogects/patients]

App: the patient's personal area.

Functionality: medical card, symptom check and appointment to the doctor.

Running:

  • Clone app: git clone [email protected]:mkdevprogects/base.git
  • cd base/
  • Set the environment variables:
  PGUSER  
  PGPASSWORD  
  ENVPOSTGRES_DB  
  VOLUMES  
  ENVPGDATA  
  DB_HOST  
  DB_PG_PORT  
  DB_REDIS_HOST  
  DB_REDIS_PORT  
  HUTCH_MQ_HOST  
  HUTCH_MQ_API_HOST

or

  1. Set the environment variables for all apps:
PGUSER
DB_HOST
PGPASSWORD
ENVPOSTGRES_DB
ENVPGDATA
  1. Clone app: git clone [email protected]:mkdevprogects/base.git
  2. cd base/
  3. docker-compose up -d
  4. cd ..
  5. Clone app: git clone [email protected]:mkdevprogects/migrations.git
  6. cd migrations/
  7. Create database: rake db:create
  8. Run migrations database: rake db:migrate
  9. cd ..
  10. Clone app: git clone [email protected]:mkdevprogects/patients.git
  11. cd patients/
  12. Create test data: rake db:seed
  13. Run app: rails s -p 3000
  14. open browser and go to http://localhost:3000/ and see patient app

Example environment variables:

PGUSER=postgres
PGPASSWORD=12345
ENVPOSTGRES_DB=mkdev_dev
VOLUMES=/Users/user_name/pg_data
ENVPGDATA=/Users/user_name/pg_data
DB_HOST=postgres

for running only this app use DB_HOST=localhost

DB_PG_PORT=5432
Set this environment variables if you run all apps:
DB_REDIS_HOST=redis
DB_REDIS_PORT=6379
HUTCH_MQ_HOST=rabbitmq
HUTCH_MQ_API_HOST=rabbitmq

About

The patient's personal area of the "Medicine" project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published