dinwwwh / game-ecommerce

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Game eCommerce

Below introduces & instructs you about the project.

Requirements

  • PHP 8.1+
  • Nodejs 14+
  • NPM & Composer
  • common, curl, json, mbstring, mysql, xml, zip, openssl, mysqldump

For laravel-media package

sudo apt install jpegoptim optipng pngquant gifsicle
npm install -g svgo

Install dependencies

    npm install --production

    composer install --no-dev --no-interaction --no-plugins --optimize-autoloader

Initializing the project

You should fill all the required information in .env file.

    php -r "file_exists('.env') || copy('.env.example', '.env');"
    php artisan key:generate
    php artisan migrate --seed
    npm run build

Optimizing the project

    php artisan optimize
    php artisan view:cache

Commands should be run when source code is changed

    php artisan optimize
    php artisan view:cache
    npm run build
    php artisan migrate --seed

About


Languages

Language:PHP 65.7%Language:Vue 32.9%Language:TypeScript 0.8%Language:JavaScript 0.4%Language:Blade 0.1%Language:Shell 0.0%Language:CSS 0.0%