2.0 KiB
readme file
Prequirements:
- install editor like vscode
- install git
- install xampp
- Navicat
- install node.js LTS (last version)
How to start:
-
login to git.willaspace.com
-
clone willa into your root folder
-
create new folder
/modules
in root project folder -
clone core, common, ... in this folder with
wm-
prefix -
run
composer i
if error is'compsoer' is not recognized as
Goto Composer Section in this document -
run
npm i
-
restore database with your new .env file. if had error refer to MySql Section
-
run:
npm run dev
-
run php artisan migrate or Goto: Host Meshkee.local Section
-
run
php artisan key:generate
-
run
php artisan passport:install
-
before login you need to set username and password for this Meshkee.local business by
UPDATE `willamall`.`users` SET `cell_number` = 'YOURNUMBER' WHERE `id` = 1
and then set password by
$2y$12$LkcKcCbpA92ZK1LJXAa7luwS052i0wl2VrS299PWe9JDpe.5b09Ta
so your password is : password
or generate your own password by https://bcrypt-generator.com/
MySql Section:
- make sure install Navicat
- open and connect to mysql
- open xampp then in mysql admin configuration open
my.ini
- change max_allowed_packet into 16M
Please Note that add it into mysqld
section not mysqldump
[mysqld]
max_allowed_packet=-1
Note that we didnt work with mysqldump
[mysqldump]
max_allowed_packet=-1
Host Meshkee.local Section:
- create new virtual host
- create new host in etc driver folder as local name service
by adding this line of configuration
127.0.0.1 meshkee.local
into C:\Windows\System32\drivers\etc\hosts
if it didnt let you to replace host file copy it in desktop, edit it, copy and replace it on host file by copy paste.
Composer Section:
- please install and restart vscode
- add to environment in path in windows
good luck