|
1 year ago | |
---|---|---|
app | 2 years ago | |
bootstrap | 6 years ago | |
config | 2 years ago | |
database | 2 years ago | |
public | 4 years ago | |
resources | 2 years ago | |
routes | 3 years ago | |
storage/framework | 4 years ago | |
tests | 3 years ago | |
.babelrc | 5 years ago | |
.dockerignore | 3 years ago | |
.drone.yml | 1 year ago | |
.editorconfig | 3 years ago | |
.env.example | 4 years ago | |
.gitattributes | 3 years ago | |
.gitignore | 1 year ago | |
.rnd | 4 years ago | |
BuildDocker | 3 years ago | |
Dockerfile | 1 year ago | |
Dockerfile.nginx | 3 years ago | |
Dockerfile.staging | 3 years ago | |
Jenkinsfile | 2 years ago | |
artisan | 6 years ago | |
composer-prod.json | 1 year ago | |
composer-staging.json | 2 years ago | |
composer.json | 2 years ago | |
composer.lock | 2 years ago | |
jsconfig.json | 4 years ago | |
package-lock.json | 3 years ago | |
package.json | 3 years ago | |
phpunit.xml | 6 years ago | |
readme.md | 3 years ago | |
server.php | 6 years ago | |
webpack.config.js | 5 years ago | |
webpack.mix.js | 3 years ago | |
webpack.mix.production.js | 3 years ago | |
webpack.mix.staging.js | 3 years ago | |
worker.conf | 2 years ago | |
yarn.lock | 3 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