|
|
@ -18,6 +18,9 @@
|
|
|
|
- UI/UX is more specific
|
|
|
|
- UI/UX is more specific
|
|
|
|
- Developer Friendlier
|
|
|
|
- Developer Friendlier
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Access to xShop/v1
|
|
|
|
|
|
|
|
> [!WARNING]
|
|
|
|
|
|
|
|
> xShop/v1 available here: <a href="https://github.com/4xmen/xshop.v1">https://github.com/4xmen/xshop.v1</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
## Installation
|
|
|
@ -33,12 +36,6 @@ php artisan migrate:fresh --seed
|
|
|
|
php artisan storage:link
|
|
|
|
php artisan storage:link
|
|
|
|
php artisan key:generate
|
|
|
|
php artisan key:generate
|
|
|
|
php artisan serv
|
|
|
|
php artisan serv
|
|
|
|
|
|
|
|
|
|
|
|
# to develop front-end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
npm install -g yarn
|
|
|
|
|
|
|
|
yarn install
|
|
|
|
|
|
|
|
yarn dev
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
> [!TIP]
|
|
|
|
> [!TIP]
|
|
|
@ -51,8 +48,7 @@ yarn dev
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
php artisan seeding:prepare
|
|
|
|
php artisan seeding:prepare
|
|
|
|
```
|
|
|
|
```
|
|
|
|
- nor copy your image folder to `database/seeders/images/`
|
|
|
|
- Seeding image for models: [Group, Category, Post, Product, Slider]
|
|
|
|
- then: Seeding image for models: [Group, Category, Post, Product, Slider]
|
|
|
|
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
php artisan seeding:image Product digital
|
|
|
|
php artisan seeding:image Product digital
|
|
|
|
```
|
|
|
|
```
|
|
|
@ -61,10 +57,9 @@ php artisan seeding:image Product digital
|
|
|
|
|
|
|
|
|
|
|
|
## Requirement
|
|
|
|
## Requirement
|
|
|
|
|
|
|
|
|
|
|
|
- php 8.2.x or above [ `php-gd`, `sqlite3`, `php-soap`]
|
|
|
|
- php 8.3.9 [ `php-gd`, `sqlite3`, `php-soap` ]
|
|
|
|
- mysql or mariadb or sqlite
|
|
|
|
- mysql or mariadb
|
|
|
|
- composer
|
|
|
|
- composer
|
|
|
|
- recommends install imagemagick on server to more image performance
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Deploy guide
|
|
|
|
## Deploy guide
|
|
|
|
|
|
|
|
|
|
|
@ -76,20 +71,12 @@ git clone https://github.com/4xmen/xshop.git . # if this command not work make
|
|
|
|
cp .env.example .env
|
|
|
|
cp .env.example .env
|
|
|
|
nano .env # edit your config db, url, etc.
|
|
|
|
nano .env # edit your config db, url, etc.
|
|
|
|
composer install
|
|
|
|
composer install
|
|
|
|
php artisan migrate:fresh --seed
|
|
|
|
php artisan migrate
|
|
|
|
|
|
|
|
php artisan db:seed --class=UserSeeder
|
|
|
|
|
|
|
|
php artisan db:seed --class=SettingSeeder
|
|
|
|
|
|
|
|
nano .env # make APP_DEBUG false, APP_ENV production
|
|
|
|
php artisan storage:link
|
|
|
|
php artisan storage:link
|
|
|
|
php key:generate
|
|
|
|
php key:generate
|
|
|
|
npm install
|
|
|
|
|
|
|
|
php artisan client
|
|
|
|
|
|
|
|
npm run build
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Make your site optimize & production mode
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
|
|
nano .env # make APP_DEBUG false, APP_ENV production
|
|
|
|
|
|
|
|
php artisan optimize
|
|
|
|
|
|
|
|
composer install --optimize-autoloader --no-dev
|
|
|
|
composer install --optimize-autoloader --no-dev
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
@ -143,12 +130,6 @@ php artisan client
|
|
|
|
![5](https://raw.githubusercontent.com/A1Gard/xshop-installer-assets/master/screenshots/xshop-screenshot5.jpg)
|
|
|
|
![5](https://raw.githubusercontent.com/A1Gard/xshop-installer-assets/master/screenshots/xshop-screenshot5.jpg)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Access to xShop/v1
|
|
|
|
|
|
|
|
> [!WARNING]
|
|
|
|
|
|
|
|
> xShop/v1 available here: <a href="https://github.com/4xmen/xshop.v1">https://github.com/4xmen/xshop.v1</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
<p align="center">
|
|
|
|
Developed With Love ! ❤️
|
|
|
|
Developed With Love ! ❤️
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|