saeid_01
e84f9ad207
|
4 years ago | |
---|---|---|
app | 4 years ago | |
bootstrap | 6 years ago | |
config | 4 years ago | |
database | 4 years ago | |
public | 4 years ago | |
resources | 4 years ago | |
routes | 4 years ago | |
storage/framework | 4 years ago | |
tests | 4 years ago | |
.babelrc | 5 years ago | |
.editorconfig | 6 years ago | |
.env.example | 4 years ago | |
.gitattributes | 6 years ago | |
.gitignore | 4 years ago | |
.rnd | 4 years ago | |
Dockerfile | 4 years ago | |
artisan | 6 years ago | |
composer.json | 4 years ago | |
composer.lock | 4 years ago | |
jsconfig.json | 4 years ago | |
package-lock.json | 4 years ago | |
package.json | 4 years ago | |
phpunit.xml | 6 years ago | |
readme.md | 4 years ago | |
server.php | 6 years ago | |
webpack.config.js | 5 years ago | |
webpack.mix.js | 4 years ago | |
yarn.lock | 6 years ago |
readme.md
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