GBSAN
Digital hospital management application
Install / Use
/learn @MarcoSchiavello/GBSANREADME
Digital hospital management application developed by students from the Amedeo Avogadro School of Turin (IT) in collaboration with a nonprofit organization Abala lite to improve the quality of health in Guinea Bissau.
Tech-stack
- Lavavel
- MySQL
- JS vanilla
- TailwindCSS
Installation
It's required to have <a href="https://getcomposer.org/">Composer</a> (packet manager) and <a href="https://www.php.net/">PHP</a> installed.<br/> Then you have to :
composer installin the root directory of the project to install PHP dependenciesnpm installin the root directory of the project to install JS dependencies- Copy the environment config example in another file called
.envin the same directorycp ./.env.example ./.envthen change the config file and put at least the DB credential - Generate the API encryption key with
php artisan key:generate - Start the DB server and then run the command:
php artisan migrateto create all the DB tables <br/>
Now you can run the application by doing php artisan serve
Installation in shared web hosting
In order to let the application work in a shared web host, you have to:
- Put the content of
public/in thehtdocs/directory - Create a directory in
htdocs/calledlaravel/ - Put all the content of the root directory of the project (without the
public/directory) inside the newly created directorylaravel/ - Change every occurrence of
__DIR__.'/../***/****'with__DIR__.'/laravel/***/****'inindex.phpinsidehtdocs/ - Create a directory called
storageand create a symlinkln -s ./laravel/storage ./storageto access all file inside the server
