diff --git a/README.md b/README.md index 677a6bb0..32ef3909 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,15 @@ # ASISTENCIA CLINICA [![Maintainability](https://api.codeclimate.com/v1/badges/09e3708ac24f9016f6fd/maintainability)](https://codeclimate.com/github/JuanVqz/doctors/maintainability) -[![current rails build](https://github.com/JuanVqz/doctors/actions/workflows/current-rails-app.yml/badge.svg)](https://github.com/JuanVqz/doctors/actions/workflows/current-rails-app.yml) +[![current rails build](https://github.com/JuanVqz/doctors/actions/workflows/tests.yml/badge.svg)](https://github.com/JuanVqz/doctors/actions/workflows/tests.yml) [![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/testdouble/standard) + Es un sistema donde las instituciones clinicas podran registrar doctores para tomar consultas de los pacientes y conservar el historial clinico. +![dashboard](dash.png) + ## Requisitos - ruby 3.0.3 @@ -21,7 +24,7 @@ de desarrollo, si ejecuta las semillas existe un subdominio `demo` y debes ingresar de la siguiente manera. ```sh -git clone https://JuanVqz@bitbucket.org/JuanVqz/doctors.git +git clone https://github.com/JuanVqz/doctors.git cd doctors # con docker @@ -54,6 +57,24 @@ docker-compose up next docker-compose run --rm next bash ``` +## Deploy + +### Reiniciar base de datos | Warning: Perderá toda la información + +```bash +heroku restart; heroku pg:reset DATABASE --confirm heroku_doctors; +heroku run rails db:migrate +heroku run rails db:seed +heroku run rails console +``` + +## Desarrollo + +Si esta interesado en contribuir al desarrollo comprando un subdominio +puede [contactarnos.](https://github.com/JuanVqz) + +## Deprecado + ## Importar información (opcional) Los Doctores que utilizan nuestro servicio habian usado un sistema llamado Bento. @@ -86,18 +107,7 @@ rake import:doctor_name:patients rake import:doctor_name:medical_consultation ``` -## Deploy - -### Reiniciar base de datos | Warning: Perderá toda la información - -```bash -heroku restart; heroku pg:reset DATABASE --confirm heroku_doctors; -heroku run rails db:migrate -heroku run rails db:seed -heroku run rails console -``` - -#### Deploy (deprecado) +#### Deploy Antes de realizar el deploy puedes verificar los requisitos con: @@ -116,8 +126,3 @@ Despues de realizar el deploy, tienes que reiniciar unicorn con el comando sigui ```sh cap production unicorn:start ``` - -## Desarrollo - -Si esta interesado en contribuir al desarrollo comprando un subdominio -puede [contactarnos.](https://github.com/JuanVqz) diff --git a/dash.png b/dash.png new file mode 100644 index 00000000..f4ede05b Binary files /dev/null and b/dash.png differ diff --git a/db/seeds.rb b/db/seeds.rb index 982a0182..01e0d308 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -107,7 +107,7 @@ doctor.patients << patient Rails.logger.debug { "Creating #{patient} Appoinments" } - 10.times do + 30.times do Appoinment.create( reason: FFaker::Lorem.phrase, note: FFaker::HTMLIpsum.p, prescription: FFaker::Lorem.paragraph, recommendations: FFaker::Lorem.paragraph,