- Framework: Laravel 5.6
- CentOS 7
- Apache 2.4.x / Nginx 1.13.x
- PHP
- Version: >= 7.1
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Mysqlnd Driver
- Mysql > 5.6
- Ruby 2.4.x
- NodeJS
- Version: >= 8.0.0
- Yarn global package
- Composer 1.6.x
- 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
$ sudo curl -sS https://getcomposer.org/installer | php
$ mv composer.phar /usr/local/bin/composer
$ composer -version
$ git clone https://github.com/LengKengDev/ebaymanager.git
$ cd web
$ composer install
$ yarn
$ npm run prod
$ cp .env.example .env
$ chown nginx:nginx storage
- Configure apache/nginx server to be the correct
public
folder of the project File nginx config example
- Edit: update your
public
folder project
Line 14: root /home/ebay.ebmanagers.net/ebaymanager/public;
Line 80: fastcgi_param SCRIPT_FILENAME /home/ebay.ebmanagers.net/ebaymanager/public$fastcgi_script_name;
- Configure the correct
.env
file: database, mail, debug ..
$ php artisan key:generate
$ php artisan migrate
$ php artisan db:seed
- Edit file
app/Providers/AppServiceProvider.php
to AppServiceProvider.php
- Le Vinh Thien | levinhthien.bka@gmail.com
The MIT License (MIT). Please see License File for more information.