This guide provides step-by-step instructions for installing the PHP application. Please follow the instructions below to get started.
Before proceeding with the installation, make sure you have the following software installed on your system:
- PHP (version 7.4 or higher)
- MySql (version 5.6 or higher)
- Composer
-
Clone the repository:
git clone <repository_url>
-
Change to the organogram-builder-dpg directory:
cd organogram-builder-dpg
-
Create a copy of the .env.example file and name it .env:
cp .env.example .env
-
Edit the
.env
file and set the database credentials:DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=oragnogram_builder_db DB_USERNAME=root DB_PASSWORD=
-
Import database (find DB in database folder)
-
Edit the
.env
file and set the e-mail gateway credentials:MAIL_HOST= MAIL_PORT= MAIL_USERNAME= MAIL_PASSWORD= MAIL_ENCRYPTION= MAIL_FROM_ADDRESS=
-
Edit the
.env
file and set the sms gateway credentials:SMS_GATEWAY_URL= SMS_GATEWAY_USER= SMS_GATEWAY_PASS= SMS_GATEWAY_A_CODE= SMS_GATEWAY_MASKING=
-
Edit the
.env
file and set the queue driver:QUEUE_CONNECTION=database
-
Install the required dependencies using Composer:
composer install
-
Run the following command in the terminal:
php artisan key:generate
php artisan storage:link
-
Run the following command in the terminal:
chmod -R 777 storage bootstrap/cache
-
Install
supervisor
and configure the following command.php artisan queue:work
Login as an Admin
Username: admin
Password: 12345678
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
We appreciate your support and hope you find our DOPTOR DATA DPG.
Best regards,