/pinfo

a small personal infomation system use for learning Laravel 5.6

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

  1. Download
$ cd /var/www/html
$ git clone https://github.com/yomun/pinfo
$ cd pinfo
  1. Prepare extensions (vendor)
$ composer install
  1. Change MySql database Settings (.env)
$ cp .env.example .env
$ gedit .env

DB_DATABASE=pinfo
DB_USERNAME=root
DB_PASSWORD=123456
  1. Prepare Key
$ php artisan key:generate
  1. Create database 'pinfo'
$ mysql -u root -p123456
mysql> show databases;
mysql> create database pinfo;
mysql> exit
  1. Database migration
$ php artisan migrate
$ php artisan db:seed
  1. Start 'PInfo' Web Service
$ php artisan serve --host=0.0.0.0 --port=8080
  1. User account for 'PInfo'
https://localhost:8080/

Email   : yomun@yahoo.com
Password: 123456
Role    : Administrator