Follow these steps to set up all microservices automatically:
- Ensure you have access to MyHospitalNow GitHub repositories.
- Enter the **installation path** where you want to save all microservices.
- Click the **"Start Installation"** button.
- The system will automatically:
- Clone all **MyHospitalNow microservices** repositories from GitHub.
- Install all required **Composer dependencies** for each microservice.
- Copy `.env.example` to `.env` and set up environment variables.
- Generate an application key for each service.
- Run database migrations and seed default data.
- Clear and cache the Laravel configuration.
- Once the installation is completed, open the **project folder** and navigate to any microservice.
- Run the following command in the microservice directory:
php artisan serve
- Access the microservice at:
http://127.0.0.1:8000
Note: Make sure you have **Git, Composer, and PHP 8+** installed on your system before running the setup.