Skip to content

Latest commit

 

History

History
97 lines (72 loc) · 1.61 KB

README.md

File metadata and controls

97 lines (72 loc) · 1.61 KB

Input tools | PHP Web Application

Installation

  • Framework: Laravel 5.7

System required

  • CentOS 7
  • Apache 2.4.x
  • PHP
    • Version: >= 7.2
    • OpenSSL PHP Extension
    • PDO PHP Extension
    • Mbstring PHP Extension
    • Tokenizer PHP Extension
    • XML PHP Extension
    • Mysqlnd Driver
  • Mysql 5.7
  • NodeJS
    • Version: >= 8.0.0
    • Yarn global package
  • Composer 1.6.x
  • Imagemagick 6.9.x

Setup environment

NodeJS

  • NVM
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
$ nvm --version
  • NodeJS
$ nvm install 8.0.0
$ node -v
  • Yarn
$ npm install -g yarn
$ yarn --version

Composer

$ sudo curl -sS https://getcomposer.org/installer | php
$ mv composer.phar /usr/local/bin/composer
$ composer -version

Imagemagick

$ sudo yum install ImageMagick ImageMagick-devel
$ convert -version

Project Guide

Install

$ git clone https://github.com/LengKengDev/inputman.git
$ cd inputman
$ composer install
$ yarn
$ npm run dev
$ cp .env.excample .env
$ chown apache:apache storage
$ cd public && ln -s ../storage/app/storage storage
  • Configure apache server to be the correct public folder of the project

Run

  • Configure the correct .env file: database, mail, debug ..
$ php artisan migrate
$ php artisan db:seed

Contributors

License

The MIT License (MIT). Please see License File for more information.

Copyright © 2018 LengKengDev. All rights reserved.