Compare commits
203 Commits
Author | SHA1 | Date |
---|---|---|
saeid | a8366d0944 | 1 year ago |
saeid | 4356871ac4 | 2 years ago |
saeid | 4497bed50f | 2 years ago |
saeid | d7c4071344 | 2 years ago |
saeid | bf3cf09e68 | 2 years ago |
saeid | 5c4ba969eb | 2 years ago |
saeid | e0aceea1f7 | 2 years ago |
saeid | 02dbfff4d6 | 2 years ago |
saeid | 07396ee656 | 2 years ago |
farid | d2e5ec8544 | 2 years ago |
saeid | c3b29b16af | 2 years ago |
saeid | ef31b2e296 | 2 years ago |
saeid_01 | b1b8d3fb8c | 2 years ago |
saeid_01 | efc348589e | 2 years ago |
Alireza Azizi | d3a1f20001 | 2 years ago |
Alireza Azizi | fa1350b252 | 2 years ago |
saeid | 7f758bdefc | 2 years ago |
saeid | 0bcbc89510 | 2 years ago |
Alireza Azizi | e7a2633523 | 2 years ago |
Alireza Azizi | 35bf5d4db6 | 2 years ago |
Alireza Azizi | dea3de3b0c | 2 years ago |
Alireza Azizi | 0e3119be6f | 2 years ago |
Alireza Azizi | d156c44f81 | 2 years ago |
Alireza Azizi | 5160316ad8 | 2 years ago |
Alireza Azizi | 3fbbff05ec | 2 years ago |
Alireza Azizi | d7f86993dc | 2 years ago |
saeid | b2ff2ce4ce | 2 years ago |
Alireza Azizi | b8a3cf99aa | 2 years ago |
Alireza Azizi | 1329c62200 | 2 years ago |
saeid | 8d640032e5 | 2 years ago |
Alireza Azizi | 2b14878998 | 2 years ago |
Alireza Azizi | 6001a9abd8 | 2 years ago |
Alireza Azizi | d4fcb7e2bc | 2 years ago |
Alireza Azizi | 32e33e12e5 | 2 years ago |
azizi | ecaeb95de5 | 2 years ago |
saeid_01 | ebb96fc3f5 | 2 years ago |
Mohammadreza Malekli | 6e9803f6ba | 2 years ago |
azizi | 5a1121f889 | 2 years ago |
Alireza Azizi | 273eaaaf56 | 2 years ago |
Alireza Azizi | d20c599cde | 2 years ago |
azizi | b79c13b3cf | 2 years ago |
saeid | 9a9dc60b7b | 2 years ago |
saeid_01 | 633aff51c6 | 2 years ago |
saeid | efc6264fdd | 2 years ago |
azizi | 209fab69b6 | 2 years ago |
azizi | 369712fe7e | 2 years ago |
saeid | 23ef28994c | 2 years ago |
azizi | 98cb49ea6b | 2 years ago |
Alireza Azizi | be134af558 | 2 years ago |
Alireza Azizi | ede5bcca7c | 2 years ago |
Alireza Azizi | c75e76f2ca | 2 years ago |
Alireza Azizi | 38e5e973bc | 2 years ago |
Alireza Azizi | 916084dc45 | 2 years ago |
Alireza Azizi | 37fb23da5c | 2 years ago |
Alireza Azizi | bf445e9952 | 2 years ago |
Alireza Azizi | 32510c74a7 | 2 years ago |
Alireza Azizi | 37523f7f73 | 2 years ago |
Alireza Azizi | 1db81550e1 | 2 years ago |
azizi | 073419ed8b | 2 years ago |
Alireza Azizi | 35fbcc4883 | 2 years ago |
Alireza Azizi | 9b9bc446c7 | 2 years ago |
saeid_01 | 792aa30097 | 2 years ago |
azizi | 7ce782b280 | 2 years ago |
azizi | 0d02c71efa | 2 years ago |
azizi | 8415d3905a | 2 years ago |
azizi | 4eb072b653 | 2 years ago |
azizi | 1439386522 | 2 years ago |
azizi | a422e9971b | 2 years ago |
azizi | 9c19dd844a | 2 years ago |
saeid_01 | a0570fa149 | 2 years ago |
aliqasemi | 262a0b79d4 | 2 years ago |
Ali Qasemi | c9de905bc2 | 2 years ago |
Ali Qasemi | 48afbc1b0a | 2 years ago |
Ali Qasemi | 1acc9d3caf | 2 years ago |
Alireza | 76309a02d8 | 2 years ago |
saeid | c9b66064b7 | 2 years ago |
saeid | e663bf9126 | 2 years ago |
saeid | eb793458e6 | 2 years ago |
farid | 307e2eaf6f | 3 years ago |
farid | 5254a98f0b | 3 years ago |
farid | 951d2f90be | 3 years ago |
farid | 1f4a2c5061 | 3 years ago |
farid | a03cc9bdfd | 3 years ago |
farid | e502435524 | 3 years ago |
Alireza Azizi | a081af688b | 3 years ago |
Alireza Azizi | 136cb025f1 | 3 years ago |
saeid | 7b706e7bb5 | 3 years ago |
saeid | 201f991dc6 | 3 years ago |
saeid | d301781312 | 3 years ago |
f.saravi | 0583d4c8af | 3 years ago |
f.saravi | 8f11c7587c | 3 years ago |
f.saravi | 790de962f4 | 3 years ago |
f.saravi | 41e33e9a46 | 3 years ago |
f.saravi | 1c57845c16 | 3 years ago |
f.saravi | cb83460edd | 3 years ago |
f.saravi | aebb816db5 | 3 years ago |
saeid_01 | 3007508443 | 3 years ago |
Saeid | b72ea3d3cf | 3 years ago |
Saeid | 653b1f54b5 | 3 years ago |
Saeid | 82619d5d4c | 3 years ago |
saeid_01 | 7555732472 | 3 years ago |
saeid_01 | 068e21f8ea | 3 years ago |
saeid_01 | e22211e6e8 | 3 years ago |
Alireza Azizi | 8d8ba19f1c | 3 years ago |
Alireza Azizi | 76c0de6b5e | 3 years ago |
Alireza Azizi | 63a5bbc143 | 3 years ago |
Alireza Azizi | cbe5c3dd0c | 3 years ago |
Alireza Azizi | 645852a6d6 | 3 years ago |
Alireza Azizi | 5c6c919ba8 | 3 years ago |
Alireza Azizi | 2b318b4ef7 | 3 years ago |
Alireza Azizi | ffb0132ee1 | 3 years ago |
Alireza Azizi | 3f4e8b7170 | 3 years ago |
farid | 1ea91ff408 | 3 years ago |
farid | 68d40f8f96 | 3 years ago |
farid | 08e959ad74 | 3 years ago |
farid | ffba4b7e2a | 3 years ago |
farid | 32a5cf0389 | 3 years ago |
farid | a937bbf570 | 3 years ago |
farid | eddc0958b6 | 3 years ago |
farid | 9830a8cc4d | 3 years ago |
farid | b53b757d9d | 3 years ago |
farid | c559443526 | 3 years ago |
farid | 66f118fe98 | 3 years ago |
farid | d0a06bd9eb | 3 years ago |
farid | c5eb32cc01 | 3 years ago |
farid | d246545d5d | 3 years ago |
saeid | d1fb36949b | 3 years ago |
Saeid | ad860dd4cf | 3 years ago |
Saeid | 8016196b9a | 3 years ago |
Saeid | 1eedec92b5 | 3 years ago |
farid | f6967fae4f | 3 years ago |
farid | c94ed06f41 | 3 years ago |
f.saravi | 1622fd9083 | 3 years ago |
azizi | 6bac03e6fc | 3 years ago |
azizi | e87dda977a | 3 years ago |
saeid_01 | 20b34ba512 | 3 years ago |
saeid | 26ba4ae40c | 3 years ago |
azizi | 67d7717653 | 3 years ago |
saeid_01 | 348a71eb13 | 3 years ago |
saeid | a96f639689 | 3 years ago |
saeid | a8fe7ea630 | 3 years ago |
azizi | c5645d65a8 | 3 years ago |
azizi | 7f577d8ffc | 3 years ago |
azizi | 326a539988 | 3 years ago |
azizi | aeafb60f0c | 3 years ago |
azizi | b61f7a3ad8 | 3 years ago |
azizi | 8213e289a7 | 3 years ago |
azizi | 9fb850cf84 | 3 years ago |
azizi | 766b63e61f | 3 years ago |
azizi | 3e4618b8f6 | 3 years ago |
f.saravi | 3eb11a615f | 3 years ago |
farid | 8f970edaf6 | 3 years ago |
farid | 0d4eade00a | 3 years ago |
f.saravi | 153b049f32 | 3 years ago |
f.saravi | 0a25211f5b | 3 years ago |
f.saravi | 28f7d12a8e | 3 years ago |
farid | acf3977b69 | 3 years ago |
azizi | 4c699ffdb0 | 3 years ago |
saeid_01 | b7c027015c | 3 years ago |
farid | 35ce3f106d | 3 years ago |
azizi | db952e98ab | 3 years ago |
farid | 8b13ad6747 | 3 years ago |
saeid_01 | c011a954c8 | 3 years ago |
f.saravi | 310f22c0db | 3 years ago |
f.saravi | 27e7392f20 | 3 years ago |
f.saravi | c66518f80f | 3 years ago |
f.saravi | 35adf80f4d | 3 years ago |
saeid_01 | 21f4fc309f | 3 years ago |
azizi | d2da10fc51 | 3 years ago |
saeid_01 | a078dc9fb5 | 3 years ago |
saeid_01 | f3996b632f | 3 years ago |
saeid_01 | 3c2acccb2d | 3 years ago |
f.saravi | fe503f0084 | 3 years ago |
saeid_01 | a5518bc1f9 | 3 years ago |
saeid_01 | b9cc16ad1a | 3 years ago |
saeid_01 | ec25d4d5cc | 3 years ago |
saeid_01 | 72b1155f78 | 3 years ago |
saeid_01 | a1cf27d6fa | 3 years ago |
saeid_01 | ff9771f022 | 3 years ago |
saeid_01 | 125d5548fa | 3 years ago |
saeid_01 | 9cd0a6ac61 | 3 years ago |
Saeid | 3e9dfa06f7 | 3 years ago |
saeid_01 | 24f77daec1 | 3 years ago |
saeid_01 | 937cd03d9f | 3 years ago |
saeid_01 | c08864ab1b | 3 years ago |
saeid_01 | 25ee2bd9b7 | 4 years ago |
saeid_01 | f4364aa4a1 | 4 years ago |
saeid_01 | 66b5600e94 | 4 years ago |
saeid_01 | 74c3d7e5ef | 4 years ago |
saeid_01 | e1d61f5ff4 | 4 years ago |
f.saravi | 71a28bfa85 | 4 years ago |
f.saravi | a23ceb1634 | 4 years ago |
f.saravi | 9ca04e4d83 | 4 years ago |
f.saravi | fd4fb3cecb | 4 years ago |
f.saravi | 7f7407da70 | 4 years ago |
f.saravi | a9ce6cf75c | 4 years ago |
f.saravi | 8e394867d3 | 4 years ago |
f.saravi | fbbd57d2d3 | 4 years ago |
f.saravi | 802d8a2a93 | 4 years ago |
f.saravi | b25ca90263 | 4 years ago |
f.saravi | 260b4da292 | 4 years ago |
f.saravi | 2ddcc80cf5 | 4 years ago |
f.saravi | 4f44241260 | 4 years ago |
@ -0,0 +1,53 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: exec
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build to production
|
||||||
|
commands:
|
||||||
|
- docker build -t registry.willaspace.com/willaspace/willaengine-test:latest --build-arg COMPOSER_FILE_NAME=composer-prod .
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
|
||||||
|
- name: deploy to production
|
||||||
|
commands:
|
||||||
|
- cd /apps/willaengine/ ; docker-compose up -d
|
||||||
|
- docker exec willaengine-test bash -c "COMPOSER=composer-prod.json composer update"
|
||||||
|
- docker exec willaengine-test php artisan config:cache
|
||||||
|
- docker exec willaengine-test php artisan route:cache
|
||||||
|
# - docker exec willaengine_worker bash -c "COMPOSER=composer-prod.json composer update"
|
||||||
|
# - docker exec willaengine_worker service supervisor start
|
||||||
|
# - docker network connect nginx_default willaengine
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
|
||||||
|
|
||||||
|
- name: build to staging
|
||||||
|
commands:
|
||||||
|
- docker build -t registry.willaspace.com/willaspace/willaengine-staging:latest --build-arg COMPOSER_FILE_NAME=composer-staging -f Dockerfile.staging .
|
||||||
|
- docker build -t registry.willaspace.com/willaspace/willaengine-staging-nginx:latest -f Dockerfile.nginx .
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- dev
|
||||||
|
|
||||||
|
- name: deploy to staging
|
||||||
|
commands:
|
||||||
|
- cd /apps/willaengine-staging/ ; docker-compose up -d
|
||||||
|
- docker exec willaengine-staging_php bash -c "COMPOSER=composer-staging.json composer update"
|
||||||
|
- docker exec willaengine-staging_php bash -c "php artisan route:cache"
|
||||||
|
- docker exec willaengine-staging_php bash -c "php artisan config:cache"
|
||||||
|
- docker exec willaengine-staging_worker bash -c "COMPOSER=composer-staging.json composer update"
|
||||||
|
- docker exec willaengine-staging_worker service supervisor start
|
||||||
|
- docker exec willaengine-staging_php php artisan migrate --path=vendor/wm/finance/database/migrations --force
|
||||||
|
- docker exec willaengine-staging_php php artisan migrate --path=vendor/wm/store/database/migrations --force
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- dev
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
- dev
|
||||||
|
|
@ -1,25 +1,28 @@
|
|||||||
FROM dfs1368/laravel-php-fpm:7.4.1
|
FROM willaengine/standard-laravel:7.4
|
||||||
|
|
||||||
WORKDIR /var/www
|
ARG COMPOSER_FILE_NAME=composer
|
||||||
|
|
||||||
RUN apt install -y sendmail libpng-dev
|
WORKDIR /var/www/html
|
||||||
|
|
||||||
RUN docker-php-ext-install gd
|
#####################################
|
||||||
|
# Composer:
|
||||||
|
#####################################
|
||||||
|
|
||||||
RUN printf 'upload_max_filesize=300M;\npost_max_size=300M;\nmax_execution_time=600;\nmax_input_time=600;\n' >> /usr/local/etc/php/conf.d/docker-php-memlimit.ini;
|
COPY database /var/www/html/database
|
||||||
RUN echo 'pm.max_children = 100' >> /usr/local/etc/php-fpm.d/zz-docker.conf
|
|
||||||
|
|
||||||
COPY database /var/www/database
|
COPY $COMPOSER_FILE_NAME.* /var/www/html/
|
||||||
|
|
||||||
COPY composer-prod.* /var/www/
|
RUN COMPOSER=$COMPOSER_FILE_NAME.json composer install --no-scripts
|
||||||
|
|
||||||
RUN composer clearcache && COMPOSER=composer-prod.json composer install --no-scripts
|
COPY . /var/www/html
|
||||||
|
|
||||||
COPY . /var/www
|
RUN chown -R www-data:www-data \
|
||||||
|
/var/www/html/public \
|
||||||
|
/var/www/html/storage \
|
||||||
|
/var/www/html/bootstrap/cache \
|
||||||
|
/var/www/.ssh \
|
||||||
|
/var/www/html/storage/letsencrypt && \
|
||||||
|
chmod 755 /var/www/html/storage/letsencrypt/Bash/auth-hook.sh
|
||||||
|
|
||||||
RUN php artisan morphmap:cache
|
|
||||||
|
|
||||||
RUN chown -R www-data:www-data \
|
RUN php artisan morphmap:cache
|
||||||
/var/www/public \
|
|
||||||
/var/www/storage \
|
|
||||||
/var/www/bootstrap/cache
|
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
FROM nginx:1.21.1
|
||||||
|
|
||||||
|
COPY public /var/www/html/public
|
@ -0,0 +1,6 @@
|
|||||||
|
FROM fsaravi/standard-laravel:7.4
|
||||||
|
|
||||||
|
WORKDIR /var/www/html
|
||||||
|
RUN php artisan morphmap:cache
|
||||||
|
|
||||||
|
|
@ -1,30 +1,42 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
node {
|
node {
|
||||||
label 'willa'
|
label 'willa'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
stages {
|
||||||
}
|
stage('build') {
|
||||||
stages {
|
when {
|
||||||
stage('build') {
|
branch 'master'
|
||||||
steps {
|
}
|
||||||
sh 'cd /home/administrator/apps/$IMAGE_NAME/;docker build -t registry.willaspace.com/willaspace/$IMAGE_NAME:latest .'
|
steps {
|
||||||
sh 'cd /home/administrator/apps/$IMAGE_NAME/;sudo ./BuildDocker'
|
sh 'cd /home/administrator/apps/${IMAGE_NAME}/;docker build -t registry.willaspace.com/willaspace/${IMAGE_NAME}:latest .'
|
||||||
}
|
sh 'cd /home/administrator/apps/${IMAGE_NAME}/;sudo ./BuildDocker'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('deploy to production') {
|
||||||
|
when {
|
||||||
|
branch 'master'
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh 'cd /home/administrator/apps/${IMAGE_NAME}/ ; docker-compose up -d'
|
||||||
|
sh 'docker exec willaengine bash -c "COMPOSER=composer-prod.json composer update"'
|
||||||
|
sh 'docker exec willaengine service cron start'
|
||||||
|
sh 'docker exec willaengine php artisan config:cache'
|
||||||
|
sh 'docker exec willaengine php artisan route:cache'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('deploy to staging') {
|
||||||
|
when {
|
||||||
|
branch 'dev'
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh 'echo ${IMAGE_NAME}-staging comming soon ...'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
environment {
|
||||||
stage('deploy') {
|
IMAGE_NAME = 'willaengine'
|
||||||
steps {
|
|
||||||
sh 'cd /home/administrator/apps/$IMAGE_NAME/ ; docker-compose up -d'
|
|
||||||
sh 'docker exec willaengine bash -c "COMPOSER=composer-prod.json composer update"'
|
|
||||||
sh 'docker exec willaengine service cron start'
|
|
||||||
sh 'docker exec willaengine php artisan config:cache'
|
|
||||||
sh 'docker exec willaengine php artisan route:cache'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
environment {
|
|
||||||
IMAGE_NAME = 'willaengine'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -0,0 +1,168 @@
|
|||||||
|
{
|
||||||
|
"name": "willaengine/laravel",
|
||||||
|
"type": "project",
|
||||||
|
"description": "The WillaEngine Applications.",
|
||||||
|
"keywords": [
|
||||||
|
"framework",
|
||||||
|
"laravel",
|
||||||
|
"WillaEngine"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"require": {
|
||||||
|
"php": "^7.4",
|
||||||
|
"coraxster/flysystem-aws-s3-v3-minio": "^1.0",
|
||||||
|
"fideloper/proxy": "^4.0",
|
||||||
|
"io-developer/php-whois": "^4.0",
|
||||||
|
"kalnoy/nestedset": "^6.0",
|
||||||
|
"laravel/framework": "^8.0",
|
||||||
|
"laravel/passport": "^10",
|
||||||
|
"laravel/tinker": "^2.0",
|
||||||
|
"maatwebsite/excel": "^3.1",
|
||||||
|
"owen-it/laravel-auditing": "^13.5",
|
||||||
|
"sentry/sentry-laravel": "^2.3",
|
||||||
|
"silber/bouncer": "v1.0.0-rc.10",
|
||||||
|
"spatie/laravel-medialibrary": "^8.0.0",
|
||||||
|
"wm/admin": "dev-master",
|
||||||
|
"wm/app-management": "dev-master",
|
||||||
|
"wm/blog": "dev-master",
|
||||||
|
"wm/common": "dev-master",
|
||||||
|
"wm/contact-us": "dev-master",
|
||||||
|
"wm/core": "dev-master",
|
||||||
|
"wm/crm": "dev-master",
|
||||||
|
"wm/finance": "dev-master",
|
||||||
|
"wm/lms": "dev-master",
|
||||||
|
"wm/notification": "dev-master",
|
||||||
|
"wm/portfolio": "dev-master",
|
||||||
|
"wm/product": "dev-master",
|
||||||
|
"wm/roll-call": "dev-master",
|
||||||
|
"wm/service": "dev-master",
|
||||||
|
"wm/service-store": "dev-master",
|
||||||
|
"wm/store": "dev-master",
|
||||||
|
"wm/web-builder": "dev-master",
|
||||||
|
"zircote/swagger-php": "^3.0"
|
||||||
|
},
|
||||||
|
"provide": {
|
||||||
|
"ext-imagick": "*"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"facade/ignition": "^2.3.6",
|
||||||
|
"fzaninotto/faker": "^1.4",
|
||||||
|
"mockery/mockery": "^1.0",
|
||||||
|
"nunomaduro/collision": "^5.0",
|
||||||
|
"phpunit/phpunit": "^9.0"
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"optimize-autoloader": true,
|
||||||
|
"preferred-install": "dist",
|
||||||
|
"sort-packages": true,
|
||||||
|
"allow-plugins": {
|
||||||
|
"php-http/discovery": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"dont-discover": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"App\\": "app/",
|
||||||
|
"Modules\\": "Modules/"
|
||||||
|
},
|
||||||
|
"classmap": [
|
||||||
|
"database/seeds",
|
||||||
|
"database/factories"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"autoload-dev": {
|
||||||
|
"psr-4": {
|
||||||
|
"Tests\\": "tests/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minimum-stability": "dev",
|
||||||
|
"prefer-stable": true,
|
||||||
|
"scripts": {
|
||||||
|
"post-autoload-dump": [
|
||||||
|
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
||||||
|
"@php artisan package:discover --ansi",
|
||||||
|
"@php artisan morphmap:cache"
|
||||||
|
],
|
||||||
|
"post-root-package-install": [
|
||||||
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
||||||
|
],
|
||||||
|
"post-create-project-cmd": [
|
||||||
|
"@php artisan key:generate --ansi"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"repositories": [
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/crm.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/common.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/core.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/blog.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/portfolio.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/product.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
c "type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/service.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/store.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/notification.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/roll-call.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/app-management.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/web-builder.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/finance.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/service-store.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/admin.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/lms.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/contact-us.git"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,166 @@
|
|||||||
|
{
|
||||||
|
"name": "laravel/laravel",
|
||||||
|
"type": "project",
|
||||||
|
"description": "The Laravel Framework.",
|
||||||
|
"keywords": [
|
||||||
|
"framework",
|
||||||
|
"laravel"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"require": {
|
||||||
|
"php": "^7.4",
|
||||||
|
"coraxster/flysystem-aws-s3-v3-minio": "^1.0",
|
||||||
|
"fideloper/proxy": "^4.0",
|
||||||
|
"laravel/framework": "^8.0",
|
||||||
|
"laravel/passport": "^10",
|
||||||
|
"laravel/tinker": "^2.0",
|
||||||
|
"maatwebsite/excel": "^3.1",
|
||||||
|
"matthiasmullie/minify": "^1.3",
|
||||||
|
"kalnoy/nestedset": "^6.0",
|
||||||
|
"sentry/sentry-laravel": "^2.3",
|
||||||
|
"spatie/laravel-medialibrary": "^8.0.0",
|
||||||
|
"io-developer/php-whois": "^4.0",
|
||||||
|
"silber/bouncer": "v1.0.0-rc.10",
|
||||||
|
"wm/blog": "dev-dev",
|
||||||
|
"wm/common": "dev-dev",
|
||||||
|
"wm/core": "dev-dev",
|
||||||
|
"wm/crm": "dev-dev",
|
||||||
|
"wm/portfolio": "dev-dev",
|
||||||
|
"wm/product": "dev-dev",
|
||||||
|
"wm/service": "dev-dev",
|
||||||
|
"wm/store": "dev-dev",
|
||||||
|
"wm/finance": "dev-dev",
|
||||||
|
"wm/admin": "dev-dev",
|
||||||
|
"wm/web-builder": "dev-dev",
|
||||||
|
"wm/app-management": "dev-dev",
|
||||||
|
"wm/notification": "dev-dev",
|
||||||
|
"wm/roll-call": "dev-dev",
|
||||||
|
"wm/lms": "dev-dev",
|
||||||
|
"wm/service-store": "dev-dev",
|
||||||
|
"predis/predis": "^1.1",
|
||||||
|
"wm/contact-us": "dev-dev",
|
||||||
|
"zircote/swagger-php": "^3.0"
|
||||||
|
},
|
||||||
|
"provide": {
|
||||||
|
"ext-imagick": "*"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"facade/ignition": "^2.3.6",
|
||||||
|
"fzaninotto/faker": "^1.4",
|
||||||
|
"mockery/mockery": "^1.0",
|
||||||
|
"nunomaduro/collision": "^5.0",
|
||||||
|
"phpunit/phpunit": "^9.0"
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"optimize-autoloader": true,
|
||||||
|
"preferred-install": "dist",
|
||||||
|
"sort-packages": true
|
||||||
|
},
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"dont-discover": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"App\\": "app/",
|
||||||
|
"Modules\\": "Modules/"
|
||||||
|
},
|
||||||
|
"classmap": [
|
||||||
|
"database/seeds",
|
||||||
|
"database/factories"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"autoload-dev": {
|
||||||
|
"psr-4": {
|
||||||
|
"Tests\\": "tests/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minimum-stability": "dev",
|
||||||
|
"prefer-stable": true,
|
||||||
|
"scripts": {
|
||||||
|
"post-autoload-dump": [
|
||||||
|
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
||||||
|
"@php artisan package:discover --ansi",
|
||||||
|
"@php artisan morphmap:cache"
|
||||||
|
],
|
||||||
|
"post-root-package-install": [
|
||||||
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
||||||
|
],
|
||||||
|
"post-create-project-cmd": [
|
||||||
|
"@php artisan key:generate --ansi"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"repositories": [
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/crm.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/common.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/core.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/blog.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/portfolio.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/product.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/service.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/store.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/notification.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/roll-call.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/app-management.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/web-builder.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/finance.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/service-store.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/admin.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/lms.git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "git@git.willaspace.com:WillaEngine-Project/contact-us.git"
|
||||||
|
}
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,52 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
* If set to false, no activities will be saved to the database.
|
||||||
|
*/
|
||||||
|
'enabled' => env('ACTIVITY_LOGGER_ENABLED', true),
|
||||||
|
|
||||||
|
/*
|
||||||
|
* When the clean-command is executed, all recording activities older than
|
||||||
|
* the number of days specified here will be deleted.
|
||||||
|
*/
|
||||||
|
'delete_records_older_than_days' => 365,
|
||||||
|
|
||||||
|
/*
|
||||||
|
* If no log name is passed to the activity() helper
|
||||||
|
* we use this default log name.
|
||||||
|
*/
|
||||||
|
'default_log_name' => 'default',
|
||||||
|
|
||||||
|
/*
|
||||||
|
* You can specify an auth driver here that gets user models.
|
||||||
|
* If this is null we'll use the default Laravel auth driver.
|
||||||
|
*/
|
||||||
|
'default_auth_driver' => null,
|
||||||
|
|
||||||
|
/*
|
||||||
|
* If set to true, the subject returns soft deleted models.
|
||||||
|
*/
|
||||||
|
'subject_returns_soft_deleted_models' => false,
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This model will be used to log activity.
|
||||||
|
* It should be implements the Spatie\Activitylog\Contracts\Activity interface
|
||||||
|
* and extend Illuminate\Database\Eloquent\Model.
|
||||||
|
*/
|
||||||
|
'activity_model' => \Spatie\Activitylog\Models\Activity::class,
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This is the name of the table that will be created by the migration and
|
||||||
|
* used by the Activity model shipped with this package.
|
||||||
|
*/
|
||||||
|
'table_name' => 'activity_log',
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This is the database connection that will be used by the migration and
|
||||||
|
* the Activity model shipped with this package. In case it's not set
|
||||||
|
* Laravel database.default will be used instead.
|
||||||
|
*/
|
||||||
|
'database_connection' => env('ACTIVITY_LOGGER_DB_CONNECTION'),
|
||||||
|
];
|
@ -0,0 +1,171 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
'enabled' => env('AUDITING_ENABLED', true),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Audit Implementation
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Define which Audit model implementation should be used.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'implementation' => OwenIt\Auditing\Models\Audit::class,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| User Morph prefix & Guards
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Define the morph prefix and authentication guards for the User resolver.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'user' => [
|
||||||
|
'morph_prefix' => 'user',
|
||||||
|
'guards' => [
|
||||||
|
'web',
|
||||||
|
'api',
|
||||||
|
'apicore'
|
||||||
|
],
|
||||||
|
'resolver' => OwenIt\Auditing\Resolvers\UserResolver::class
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Audit Resolvers
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Define the User, IP Address, User Agent and URL resolver implementations.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
'resolvers' => [
|
||||||
|
'ip_address' => OwenIt\Auditing\Resolvers\IpAddressResolver::class,
|
||||||
|
'user_agent' => OwenIt\Auditing\Resolvers\UserAgentResolver::class,
|
||||||
|
'url' => OwenIt\Auditing\Resolvers\UrlResolver::class,
|
||||||
|
'business_id'=> WM\Common\Services\Audit\BusinessResolver::class,
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Audit Events
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The Eloquent events that trigger an Audit.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'events' => [
|
||||||
|
'created',
|
||||||
|
'updated',
|
||||||
|
'deleted',
|
||||||
|
'restored'
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Strict Mode
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Enable the strict mode when auditing?
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'strict' => false,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Global exclude
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Have something you always want to exclude by default? - add it here.
|
||||||
|
| Note that this is overwritten (not merged) with local exclude
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'exclude' => [],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Empty Values
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Should Audit records be stored when the recorded old_values & new_values
|
||||||
|
| are both empty?
|
||||||
|
|
|
||||||
|
| Some events may be empty on purpose. Use allowed_empty_values to exclude
|
||||||
|
| those from the empty values check. For example when auditing
|
||||||
|
| model retrieved events which will never have new and old values.
|
||||||
|
|
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'empty_values' => true,
|
||||||
|
'allowed_empty_values' => [
|
||||||
|
'retrieved'
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Audit Timestamps
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Should the created_at, updated_at and deleted_at timestamps be audited?
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'timestamps' => false,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Audit Threshold
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Specify a threshold for the amount of Audit records a model can have.
|
||||||
|
| Zero means no limit.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'threshold' => 0,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Audit Driver
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The default audit driver used to keep track of changes.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'driver' => 'database',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Audit Driver Configurations
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Available audit drivers and respective configurations.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'drivers' => [
|
||||||
|
'database' => [
|
||||||
|
'table' => 'audits',
|
||||||
|
'connection' => null,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Audit Console
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Whether console events should be audited (eg. php artisan db:seed).
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'console' => true,
|
||||||
|
];
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,58 @@
|
|||||||
|
const mix = require('laravel-mix');
|
||||||
|
const path = require('path');
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Mix Asset Management
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Mix provides a clean, fluent API for defining some Webpack build steps
|
||||||
|
| for your Laravel application. By default, we are compiling the Sass
|
||||||
|
| file for the application as well as bundling up all the JS files.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
mix.webpackConfig({
|
||||||
|
resolve: {
|
||||||
|
extensions: ["*", ".js", ".jsx", ".vue", ".ts", ".tsx", '.json', '.d.ts'],
|
||||||
|
alias: {
|
||||||
|
'@JS': path.resolve(__dirname, 'resources/js'),
|
||||||
|
'@Home': path.resolve(__dirname, 'resources/js/Home'),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
output: {
|
||||||
|
chunkFilename: 'js/vue/chunks/[name].[chunkhash].js',
|
||||||
|
},
|
||||||
|
module: {
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
test: /\.ts$/,
|
||||||
|
loader: "ts-loader",
|
||||||
|
options: { appendTsSuffixTo: [/\.vue$/] },
|
||||||
|
exclude: /node_modules/
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
mix.js('resources/js/Home/app.js', 'public/js/vue/Home').vue({version: 2});
|
||||||
|
|
||||||
|
require('./modules/wm-core/webpack.mix');
|
||||||
|
require('./modules/wm-common/webpack.mix');
|
||||||
|
require('./modules/wm-crm/webpack.mix');
|
||||||
|
require('./modules/wm-blog/webpack.mix');
|
||||||
|
require('./modules/wm-portfolio/webpack.mix');
|
||||||
|
require('./modules/wm-product/webpack.mix');
|
||||||
|
require('./modules/wm-service/webpack.mix');
|
||||||
|
require('./modules/wm-store/webpack.mix');
|
||||||
|
require('./modules/wm-admin/webpack.mix');
|
||||||
|
require('./modules/wm-notification/webpack.mix');
|
||||||
|
require('./modules/wm-roll-call/webpack.mix');
|
||||||
|
require('./modules/wm-finance/webpack.mix');
|
||||||
|
require('./modules/wm-app-management/webpack.mix');
|
||||||
|
require('./modules/wm-web-builder/webpack.mix');
|
||||||
|
require('./modules/wm-lms/webpack.mix');
|
||||||
|
require('./modules/wm-service-store/webpack.mix');
|
||||||
|
require('./modules/wm-contact-us/webpack.mix');
|
||||||
|
// require('./modules/wm-warehouse/webpack.mix');
|
||||||
|
// require('./modules/wm-reservation/webpack.mix');
|
||||||
|
|
||||||
|
mix.version();
|
@ -0,0 +1,59 @@
|
|||||||
|
const mix = require('laravel-mix');
|
||||||
|
const path = require('path');
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Mix Asset Management
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Mix provides a clean, fluent API for defining some Webpack build steps
|
||||||
|
| for your Laravel application. By default, we are compiling the Sass
|
||||||
|
| file for the application as well as bundling up all the JS files.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
mix.webpackConfig({
|
||||||
|
resolve: {
|
||||||
|
extensions: ["*", ".js", ".jsx", ".vue", ".ts", ".tsx", '.json', '.d.ts'],
|
||||||
|
alias: {
|
||||||
|
'@JS': path.resolve(__dirname, 'resources/js'),
|
||||||
|
'@Home': path.resolve(__dirname, 'resources/js/Home'),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
output: {
|
||||||
|
chunkFilename: 'js/vue/chunks/[name].[chunkhash].js',
|
||||||
|
},
|
||||||
|
module: {
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
test: /\.ts$/,
|
||||||
|
loader: "ts-loader",
|
||||||
|
options: { appendTsSuffixTo: [/\.vue$/] },
|
||||||
|
exclude: /node_modules/
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
mix.js('resources/js/Home/app.js', 'public/js/vue/Home').vue({version: 2});
|
||||||
|
|
||||||
|
require('./vendeor/wm/core/webpack.mix');
|
||||||
|
require('./vendeor/wm/common/webpack.mix');
|
||||||
|
require('./vendeor/wm/crm/webpack.mix');
|
||||||
|
require('./vendeor/wm/blog/webpack.mix');
|
||||||
|
require('./vendeor/wm/portfolio/webpack.mix');
|
||||||
|
require('./vendeor/wm/product/webpack.mix');
|
||||||
|
require('./vendeor/wm/service/webpack.mix');
|
||||||
|
require('./vendeor/wm/store/webpack.mix');
|
||||||
|
require('./vendeor/wm/admin/webpack.mix');
|
||||||
|
require('./vendeor/wm/notification/webpack.mix');
|
||||||
|
require('./vendeor/wm/roll-call/webpack.mix');
|
||||||
|
require('./vendeor/wm/finance/webpack.mix');
|
||||||
|
require('./vendeor/wm/app-management/webpack.mix');
|
||||||
|
require('./vendeor/wm/web-builder/webpack.mix');
|
||||||
|
require('./vendeor/wm/service-store/webpack.mix');
|
||||||
|
require('./vendeor/wm/lms/webpack.mix');
|
||||||
|
require('./vendeor/wm/service-store/webpack.mix');
|
||||||
|
require('./vendeor/wm/contact-us/webpack.mix');
|
||||||
|
// require('./vendeor/wm/warehouse/webpack.mix');
|
||||||
|
// require('./vendeor/wm/reservation/webpack.mix');
|
||||||
|
|
||||||
|
mix.version();
|
@ -0,0 +1,55 @@
|
|||||||
|
[supervisord]
|
||||||
|
nodaemon=true
|
||||||
|
user = root
|
||||||
|
[supervisorctl]
|
||||||
|
[inet_http_server]
|
||||||
|
port = 127.0.0.1:9001
|
||||||
|
[rpcinterface:supervisor]
|
||||||
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
||||||
|
|
||||||
|
[program:scheduler]
|
||||||
|
process_name=%(program_name)s_%(process_num)02d
|
||||||
|
command=/bin/sh -c "while [ true ]; do (php /var/www/html/artisan schedule:run --verbose --no-interaction &); sleep 60; done"
|
||||||
|
autostart=true
|
||||||
|
autorestart=true
|
||||||
|
numprocs=1
|
||||||
|
user=www-data
|
||||||
|
redirect_stderr=true
|
||||||
|
stdout_logfile=/var/log/supervisor/scheduler.log
|
||||||
|
|
||||||
|
[program:change-store-order-status]
|
||||||
|
process_name=%(program_name)s_%(process_num)02d
|
||||||
|
command=php /var/www/html/artisan queue:work redis --queue=change_to_successful_store_order --sleep=3 --tries=3 --max-time=3600
|
||||||
|
autostart=true
|
||||||
|
autorestart=true
|
||||||
|
stopasgroup=true
|
||||||
|
killasgroup=true
|
||||||
|
user=www-data
|
||||||
|
numprocs=3
|
||||||
|
redirect_stderr=true
|
||||||
|
stopwaitsecs=3600
|
||||||
|
stdout_logfile=/var/log/supervisor/change-store-order-status.log
|
||||||
|
|
||||||
|
[program:create-store-product]
|
||||||
|
process_name=%(program_name)s_%(process_num)02d
|
||||||
|
command=php /var/www/html/artisan queue:work redis --queue=create_store_product --sleep=3 --tries=3 --max-time=3600
|
||||||
|
autostart=true
|
||||||
|
autorestart=true
|
||||||
|
stopasgroup=true
|
||||||
|
killasgroup=true
|
||||||
|
user=www-data
|
||||||
|
numprocs=3
|
||||||
|
redirect_stderr=true
|
||||||
|
stopwaitsecs=3600
|
||||||
|
stdout_logfile=/var/log/supervisor/create-store-product.log
|
||||||
|
|
||||||
|
|
||||||
|
# [program:check-sms-status]
|
||||||
|
# command=php /var/www/html/artisan queue:work redis --queue=check-sms-status --tries=3
|
||||||
|
# process_name=%(program_name)s_%(process_num)02d
|
||||||
|
# autostart=true
|
||||||
|
# autorestart=true
|
||||||
|
# user=www-data
|
||||||
|
# numprocs=3
|
||||||
|
# redirect_stderr=true
|
||||||
|
# stdout_logfile=/var/log/supervisor/sms-status.log
|
Loading…
Reference in new issue