isel-sw-projects / 2021-casciffo

Software Capacitation in Hospital Fernando Fonseca Research Centre
GNU General Public License v3.0
1 stars 0 forks source link

2021-casciffo

Software Capacitation in Hospital Fernando Fonseca Research Centre


Casciffo

Software developed to facilitate the management of clinical trials, making it easier to organize, keep track and manage patient attendance.

Table of Contents
  1. About The Project
  2. Getting Started
    1. Contributing
    2. Contact

About The Project

CASCIFFO is a platform split in two modules, a front- and back-end module. This application that aims to develop and provide innovative mechanisms for interoperability with internal and external information systems, allowing, when desired, data synchronization, index search, identification data management and even access to detailed clinical data. Along with these features, the management of clinical visits assisted by researchers and data monitoring of patients are also included.

(back to top)

Built With

This app was developed using these frameworks:

(back to top)

Getting Started

To begin our journey within the CASCIFFO application, the following prerequisites need to be checked:

Prerequisites

Installation

After having installed all the required software:

  1. Clone the repo
    git clone https://github.com/isel-sw-projects/2021-casciffo [folderName]
  2. Create a Database, for example with the command line tool psql
    postgres pqsl createdb `dbName`
  3. Create a Database user
    This can be done by using the PGAdmin or psql tool. The latter can be done in the command line with the following command.
    postgres create user -s `userName` -W
    [Password:] `password`
    postgres psql grant all priveleges on `dbName` to `userName`
  4. Create Database Tables
    Open a command line UI inside the folder /setup and Run the command:
    postgres psql -f db_creation.sql
  5. Package the project
    The setup is fully automatic and can be done by going into the /setup folder and running, depending on OS, the batch file (for windows) or the bash setup files (Linux/Ubuntu OS. Note that neither setup was tested or ran in MAC OS). There are two primary setup files, one that packages the application (letting the user run it manually) and one that packages and runs the application.
  6. Configure the solution
    The configurations can be done when running the batch file that executes the application or manually via the command line by using the following options: -p The port on which the app wil listen. -P The postgres listening port. -d The database name. -u The database user name. -w The password for the database user. Furthermore, you can also set them manually by editing the corresponding variables in the first few lines of the run script!
  7. Run and enjoy!

Note: There may be a case where you need to give writing permissions to the folders and executables in order for them to work, either copy or run the permissions.sh script ヾ(•ω•`)o If you wish to rename the database, you can do so in the .sql files in lines 19, 24, 27 and 29.

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact and Acknowledgements

This project was developed as part of a partnership between the Hospital Professor Doutor Fernando Fonseca (HFF) and Lisbon School of Engineering (ISEL)

Valdemar Antunes - A44865@alunos.isel.pt
Miguel Gamboa - miguel.gamboa@isel.pt
Pedro Vieira - pedro.vieira@isel.pt

Project Link: https://github.com/isel-sw-projects/2021-casciffo

(back to top)