Skip to content

lowildlr10/pftms

Repository files navigation

image

Demo

URL: https://dev-pftms.dostcar.ph
Username: admin
Password: 5!dIPPG9PfKQbY/Z

Installation and Configuration

  1. Open command prompt or bash terminal.

  2. Go to the directory where the repository is being stored/cloned by using the "cd" command.

    example:

    cd /var/www
    cd C:\xampp\htdocs
    
  3. Clone this repository using "git clone <folder_name>" command

    example:

    git clone https://github.com/lowildlr10/pftms_v2.git pftms
    
  4. Navigate inside the cloned repository by using "cd" command

    example:

    cd pftms
    
  5. Run this command "cp .env.examples .env" (Linux or MAC) or "copy .env.examples .env" or simply duplicate ".env.examples" then rename it to ".env".

  6. Open .env file by using the text editor or the terminal text editors (vim, nano, and etc.), then edit this fields APP_NAME, APP_DEBUG, DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, and DB_PASSWORD

    example:

    APP_NAME=PFTMS
    APP_DEBUG=false
    
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=pftms_db
    DB_USERNAME=pftms
    DB_PASSWORD=pftms
    
  7. Then run this following commands:

    "composer install"
    "php artisan key:generate"
    "php artisan migrate:fresh --seed"
    "php artisan storage:link"
    "php artisan cache:clear"
    "php artisan config:clear"
    "php artisan view:clear"
    
  8. Access the site then login this admin credentials:

    Username: admin
    Password: admin
    
  9. Change immediately the password then entry all the necessary data in the following libraries:

    • Inventory Classifications
    • Item Classifications
    • Modes of Procurement
    • Source of Funds
    • Signatories
    • Supplier Classifications
    • Suppliers
    • Unit of Issues
    • Paper Sizes
    • Divisions
    • Roles
    • Groups
    • Accounts