Compare commits
383 Commits
BE.fix-mut
...
dev
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 |
f.saravi | 462237cb96 | 3 years ago |
azizi | 4c699ffdb0 | 3 years ago |
azizi | 397008d1cc | 3 years ago |
saeid_01 | b7c027015c | 3 years ago |
saeid_01 | 6dd982b1e7 | 3 years ago |
farid | 35ce3f106d | 3 years ago |
azizi | db952e98ab | 3 years ago |
azizi | d2649936a3 | 3 years ago |
farid | 8b13ad6747 | 3 years ago |
saeid_01 | acd6a9344c | 3 years ago |
saeid_01 | c011a954c8 | 3 years ago |
saeid_01 | 457bdcfa23 | 3 years ago |
f.saravi | 310f22c0db | 3 years ago |
farid | 151c7ab3be | 3 years ago |
f.saravi | 27e7392f20 | 3 years ago |
farid | c20f9a85ef | 3 years ago |
f.saravi | c66518f80f | 3 years ago |
farid | 612a15e4d8 | 3 years ago |
f.saravi | 35adf80f4d | 3 years ago |
f.saravi | 25dd0810f6 | 3 years ago |
saeid_01 | 21f4fc309f | 3 years ago |
saeid_01 | b22b70945c | 3 years ago |
azizi | d2da10fc51 | 3 years ago |
azizi | e2d9fa381d | 3 years ago |
saeid_01 | a078dc9fb5 | 3 years ago |
saeid_01 | f85fe35add | 3 years ago |
saeid_01 | f3996b632f | 3 years ago |
Saeid | 76e6577700 | 3 years ago |
erfan | d3b5bf4951 | 3 years ago |
saeid_01 | 3c2acccb2d | 3 years ago |
saeid | 194eb7d9a0 | 3 years ago |
saeid | 5a87d1b3ba | 3 years ago |
f.saravi | fe503f0084 | 3 years ago |
farid | 872a2c51a5 | 3 years ago |
saeid_01 | a5518bc1f9 | 3 years ago |
saeid_01 | 39322c2e3a | 3 years ago |
saeid_01 | b9cc16ad1a | 3 years ago |
saeid_01 | e447f90c55 | 3 years ago |
saeid_01 | ec25d4d5cc | 3 years ago |
saeid_01 | cedc81aad8 | 3 years ago |
saeid_01 | 72b1155f78 | 3 years ago |
saeid_01 | 3dba51a441 | 3 years ago |
saeid_01 | a1cf27d6fa | 3 years ago |
saeid | c77bc9d103 | 3 years ago |
saeid_01 | ff9771f022 | 3 years ago |
saeid_01 | 0cf998327f | 3 years ago |
saeid_01 | 125d5548fa | 3 years ago |
saeid_01 | 03858113fd | 3 years ago |
saeid_01 | 9cd0a6ac61 | 3 years ago |
saeid_01 | 8a50373446 | 3 years ago |
Saeid | 3e9dfa06f7 | 3 years ago |
saeid_01 | de999a4e20 | 3 years ago |
saeid_01 | c72414a7ab | 3 years ago |
saeid_01 | da3b725923 | 3 years ago |
saeid_01 | fc0bfc3c2c | 3 years ago |
saeid_01 | 0586256770 | 3 years ago |
saeid | fbbe631de8 | 3 years ago |
saeid_01 | c140f299f6 | 3 years ago |
farid | 9130b8274b | 3 years ago |
farid | 2a135efc17 | 3 years ago |
saeid_01 | 24f77daec1 | 3 years ago |
willaarts | 3c8e5d289f | 3 years ago |
willaarts | e831470936 | 3 years ago |
willaarts | c44407344f | 3 years ago |
willaarts | 0314337450 | 3 years ago |
saeid_01 | 937cd03d9f | 3 years ago |
saeid_01 | f690759e21 | 3 years ago |
saeid_01 | c08864ab1b | 3 years ago |
saeid_01 | 6fbe89b46c | 3 years ago |
saeid_01 | 25ee2bd9b7 | 4 years ago |
saeid_01 | f52f531369 | 4 years ago |
behmaram | 742a4cdd23 | 4 years ago |
saeid_01 | 047422fcd5 | 4 years ago |
saeid_01 | 8a33c69b44 | 4 years ago |
willaarts | 38081714df | 4 years ago |
saeid_01 | 4852c547a2 | 4 years ago |
saeid_01 | f4364aa4a1 | 4 years ago |
saeid | 06cd5d1912 | 4 years ago |
saeid | 118979584f | 4 years ago |
saeid_01 | 66b5600e94 | 4 years ago |
saeid_01 | 359230f350 | 4 years ago |
saeid_01 | 144df450cc | 4 years ago |
saeid_01 | f60f14c591 | 4 years ago |
behmaram | 361b6c86a0 | 4 years ago |
saeid_01 | 74c3d7e5ef | 4 years ago |
saeid_01 | 1b77c7c332 | 4 years ago |
saeid_01 | e1d61f5ff4 | 4 years ago |
saeid_01 | e51f5c4885 | 4 years ago |
f.saravi | 71a28bfa85 | 4 years ago |
farid | b78bf709f7 | 4 years ago |
f.saravi | a23ceb1634 | 4 years ago |
farid | abcd82d1f0 | 4 years ago |
f.saravi | 9ca04e4d83 | 4 years ago |
farid | 0ef4dc6ae4 | 4 years ago |
f.saravi | fd4fb3cecb | 4 years ago |
farid | fb3008d82b | 4 years ago |
f.saravi | 7f7407da70 | 4 years ago |
farid | cecdb3f3c7 | 4 years ago |
saeid_01 | a1921f8eda | 4 years ago |
farid | 0e735bd9f3 | 4 years ago |
aliqasemi | 22633fe61c | 4 years ago |
saeid | d8fc09ea42 | 4 years ago |
f.saravi | a9ce6cf75c | 4 years ago |
farid | 3bc9a6d005 | 4 years ago |
f.saravi | 8e394867d3 | 4 years ago |
farid | 4557fd2fc6 | 4 years ago |
f.saravi | fbbd57d2d3 | 4 years ago |
farid | 499c1d9026 | 4 years ago |
f.saravi | 802d8a2a93 | 4 years ago |
farid | 25fa20bf5a | 4 years ago |
f.saravi | b25ca90263 | 4 years ago |
farid | ff7a675ab5 | 4 years ago |
farid | caefdeca43 | 4 years ago |
f.saravi | 260b4da292 | 4 years ago |
f.saravi | 042cd288d7 | 4 years ago |
f.saravi | 2ddcc80cf5 | 4 years ago |
farid | 92dcf59345 | 4 years ago |
f.saravi | 4f44241260 | 4 years ago |
farid | dc60247483 | 4 years ago |
farid | 652886987a | 4 years ago |
farid | 6cf32225b1 | 4 years ago |
farid | 85e30976bd | 4 years ago |
farid | a3963c4244 | 4 years ago |
farid | a1e58f96cb | 4 years ago |
aliqasemi | 6d3b86fe44 | 4 years ago |
saeid | d054bf2f11 | 4 years ago |
saeid_01 | d1b02f158b | 4 years ago |
saeid_01 | 46654c96b7 | 4 years ago |
Saeid | dbac3cd5e5 | 4 years ago |
saeid_01 | 56e79cde14 | 4 years ago |
saeid_01 | 2d9ec0ee92 | 4 years ago |
Saeid | 0bcbbe2b57 | 4 years ago |
Saeid | 43a038b0a7 | 4 years ago |
saeid_01 | bf159c6b82 | 4 years ago |
saeid_01 | f31cefedc7 | 4 years ago |
saeid_01 | f7af537f00 | 4 years ago |
Farid Saravi | 08eba75f05 | 4 years ago |
saeid | 138b750ea6 | 4 years ago |
Azizi | dd28b95f85 | 4 years ago |
behmaram | b3a4922e4f | 4 years ago |
aliqasemi | caf41f1f30 | 4 years ago |
f.saravi | e2aa73971c | 4 years ago |
farid | 3ff05f3d3b | 4 years ago |
farid | b0d8b60183 | 4 years ago |
saeid_01 | 3d4ae80551 | 4 years ago |
behmaram | 6270ed6a8e | 4 years ago |
behmaram | 7ddcfa369d | 4 years ago |
behmaram | ebf215e965 | 4 years ago |
saeid_01 | 65724e6f82 | 4 years ago |
behmaram | c7aad8eff9 | 4 years ago |
behmaram | 2f7f18c43a | 4 years ago |
saeid_01 | d73a16aaa3 | 4 years ago |
behmaram | fd781f49d0 | 4 years ago |
behmaram | 237fa80efa | 4 years ago |
behmaram | f930e4514f | 4 years ago |
aliqasemi | 2cc76cbdf7 | 4 years ago |
behmaram | f92632112a | 4 years ago |
saeid_01 | c34c154338 | 4 years ago |
Farid Saravi | 50f245c370 | 4 years ago |
Farid Saravi | 2e56e12fc8 | 4 years ago |
saeid_01 | e6915d9d6f | 4 years ago |
Farid Saravi | 291a25c2bb | 4 years ago |
saeid_01 | 99aea73a98 | 4 years ago |
aliqasemi | c6d0385cb3 | 4 years ago |
Farid Saravi | fcd6ee3a3d | 4 years ago |
saeid_01 | 94214db4e9 | 4 years ago |
Farid Saravi | 8c96452a88 | 4 years ago |
saeid_01 | 9dcec2dd66 | 4 years ago |
Farid Saravi | bbc5890bfd | 4 years ago |
saeid_01 | 797ad0fabb | 4 years ago |
Farid Saravi | 86331b5fee | 4 years ago |
saeid_01 | 345cd1f0d2 | 4 years ago |
Farid Saravi | 9ba6b44561 | 4 years ago |
saeid_01 | 4eb6942f1d | 4 years ago |
Farid Saravi | 644063da70 | 4 years ago |
f.saravi | a3ebfeb9a6 | 4 years ago |
Farid Saravi | 9c1462c430 | 4 years ago |
saeid_01 | 5dc72fed44 | 4 years ago |
Farid Saravi | df58ae573f | 4 years ago |
f.saravi | 6fa1a1df98 | 4 years ago |
Farid Saravi | 5cb8690c7b | 4 years ago |
f.saravi | 0553e8d3bc | 4 years ago |
Farid Saravi | dd82258295 | 4 years ago |
willaspace | 194aa36fdf | 4 years ago |
willaspace | 703ed672c3 | 4 years ago |
willaspace | b2658142ae | 4 years ago |
willaspace | 9a4e4a2a91 | 4 years ago |
willaspace | 1475dcb47d | 4 years ago |
willaspace | 36151cb1a6 | 4 years ago |
willaspace | 7dd92de851 | 4 years ago |
Farid Saravi | 118f1c733e | 4 years ago |
saeid_01 | 12936e0bfd | 4 years ago |
sajjad | d49e99f76c | 4 years ago |
sajjad | e3c79ba5b7 | 4 years ago |
sajjad | 2eb2b5c9ff | 4 years ago |
sajjad | d9b2f21523 | 4 years ago |
admin | 2f838d2ffb | 4 years ago |
admin | a0a389d458 | 4 years ago |
admin | ad3ba24ba7 | 4 years ago |
willaspace | 9ecc191658 | 4 years ago |
f.saravi | ccfdd293a1 | 4 years ago |
f.saravi | 120871e4d8 | 4 years ago |
f.saravi | 652f5eba75 | 4 years ago |
f.saravi | 467b11d8cc | 4 years ago |
admin | 588f04f45f | 4 years ago |
aliqasemi | 4e1ade88cd | 4 years ago |
Farid Saravi | 5598b1ede4 | 4 years ago |
saeid_01 | 4ab570a14c | 4 years ago |
aliqasemi | 4ea4a9aeb0 | 4 years ago |
Farid Saravi | 9813c5d0d4 | 4 years ago |
saeid_01 | 1e1e714c97 | 4 years ago |
Farid Saravi | 8ace9799a5 | 4 years ago |
saeid_01 | 5b024c3d78 | 4 years ago |
Farid Saravi | 64e15b95d7 | 4 years ago |
saeid_01 | 4e0b7600be | 4 years ago |
Farid Saravi | 98fcf34d26 | 4 years ago |
Farid Saravi | 60f68af90f | 4 years ago |
Farid Saravi | 1402e44e57 | 4 years ago |
Farid Saravi | ce56a8d45b | 4 years ago |
Farid Saravi | 2d6a531bdb | 4 years ago |
Farid Saravi | cec26c3f9f | 4 years ago |
Farid Saravi | bb9e133408 | 4 years ago |
Farid Saravi | 4e7261d93d | 4 years ago |
Farid Saravi | ed23005212 | 4 years ago |
Farid Saravi | bffc7e9621 | 4 years ago |
Farid Saravi | 7d40e8943a | 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
|
||||
|
@ -0,0 +1,38 @@
|
||||
#!/bin/bash
|
||||
# rsync script
|
||||
|
||||
git pull origin master
|
||||
|
||||
cd modules
|
||||
for f in *
|
||||
do
|
||||
cd $f && git pull origin master && cd ..
|
||||
done
|
||||
cd ..
|
||||
|
||||
npm install
|
||||
|
||||
rm -r /home/administrator/apps/willaengine/public/js/vue
|
||||
|
||||
npm run prod
|
||||
|
||||
rm -r /home/administrator/apps/nginx/www/willaengine/public/js/vue
|
||||
rm -r /home/administrator/apps/nginx/www/willamall/public/js/vue
|
||||
rm -r /home/administrator/apps/nginx/www/willaarts/public/js/vue
|
||||
|
||||
cp -r /home/administrator/apps/willaengine/public/js/vue /home/administrator/apps/nginx/www/willaengine/public/js/
|
||||
|
||||
cp -r /home/administrator/apps/willaengine/public/js/vue /home/administrator/apps/nginx/www/willamall/public/js/
|
||||
|
||||
cp -r /home/administrator/apps/willaengine/public/js/vue /home/administrator/apps/nginx/www/willaarts/public/js/
|
||||
|
||||
cp /home/administrator/apps/willaengine/public/mix-manifest.json /home/administrator/apps/nginx/www/willaengine/public/
|
||||
|
||||
cp /home/administrator/apps/willaengine/public/mix-manifest.json /home/administrator/apps/nginx/www/willaarts/public/
|
||||
|
||||
|
||||
sudo chown -R www-data:www-data /home/administrator/apps/nginx/www/willaarts/public
|
||||
|
||||
sudo chown -R www-data:www-data /home/administrator/apps/nginx/www/willamall/public
|
||||
|
||||
sudo chown -R www-data:www-data /home/administrator/apps/nginx/www/willaengine
|
@ -1,23 +1,28 @@
|
||||
FROM dfs1368/laravel-php-fpm:7.4
|
||||
FROM willaengine/standard-laravel:7.4
|
||||
|
||||
WORKDIR /var/www
|
||||
ARG COMPOSER_FILE_NAME=composer
|
||||
|
||||
RUN apt install -y sendmail libpng-dev
|
||||
RUN docker-php-ext-install gd
|
||||
RUN echo 'memory_limit = -1' >> /usr/local/etc/php/conf.d/docker-php-memlimit.ini;
|
||||
WORKDIR /var/www/html
|
||||
|
||||
COPY database /var/www/database
|
||||
COPY composer.* /var/www/
|
||||
#####################################
|
||||
# Composer:
|
||||
#####################################
|
||||
|
||||
RUN composer clearcache && composer update --no-scripts
|
||||
COPY database /var/www/html/database
|
||||
|
||||
COPY . /var/www
|
||||
COPY $COMPOSER_FILE_NAME.* /var/www/html/
|
||||
|
||||
RUN COMPOSER=$COMPOSER_FILE_NAME.json composer install --no-scripts
|
||||
|
||||
COPY . /var/www/html
|
||||
|
||||
RUN chown -R www-data:www-data \
|
||||
/var/www/public \
|
||||
/var/www/storage \
|
||||
/var/www/bootstrap/cache
|
||||
/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 mv .env.prod .env
|
||||
|
||||
RUN php artisan optimize
|
||||
RUN php artisan morphmap: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
|
||||
|
||||
|
@ -0,0 +1,42 @@
|
||||
pipeline {
|
||||
agent {
|
||||
node {
|
||||
label 'willa'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('build') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
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 {
|
||||
IMAGE_NAME = 'willaengine'
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use Illuminate\Console\Command;
|
||||
use WM\Core\Models\Business;
|
||||
use WM\Core\Models\User;
|
||||
|
||||
class UserChangeInformation extends Command
|
||||
{
|
||||
/**
|
||||
* The name and signature of the console command.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $signature = 'transport:user';
|
||||
|
||||
/**
|
||||
* The console command description.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $description = 'transport users';
|
||||
|
||||
/**
|
||||
* Create a new command instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
private function firstNameLengthUpdate(User $user)
|
||||
{
|
||||
$fistName = $user->first_name;
|
||||
|
||||
$fistNameLength = strlen(utf8_decode($fistName));
|
||||
|
||||
$user->update([
|
||||
'first_name_length' => $fistNameLength
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the console command.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
|
||||
$users = User::all();
|
||||
|
||||
foreach ($users as $user) {
|
||||
|
||||
$business = Business::find($user->business_id);
|
||||
|
||||
if (!is_null($business)) {
|
||||
|
||||
if ($business->user_id == $user->id) {
|
||||
|
||||
$this->firstNameLengthUpdate($user);
|
||||
$business->user()->attach($user->id, [
|
||||
'responsibility' => $user->responsibility,
|
||||
'is_owner' => 1
|
||||
]);
|
||||
$this->info("add and update user : $user->id");
|
||||
|
||||
} else {
|
||||
|
||||
$this->firstNameLengthUpdate($user);
|
||||
$business->user()->attach($user->id, [
|
||||
'responsibility' => $user->responsibility
|
||||
]);
|
||||
$this->info("add and update user : $user->id");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -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
@ -1,14 +1,13 @@
|
||||
export default {
|
||||
getList|-Module-|: state => {
|
||||
if (state.has_filter) {
|
||||
return state.filtered_|-module-|;
|
||||
return state.filtered_|-snake_module-|;
|
||||
}
|
||||
return state.|-module-|;
|
||||
return state.|-snake_module-|;
|
||||
},
|
||||
get|-Module-|: state => state.|-module-|,
|
||||
get|-Module-|: state => state.|-snake_module-|,
|
||||
isFiltered|-Module-|: state =>state.is_filtered,
|
||||
getFilter|-Module-|: state =>state.filter,
|
||||
get|-Module-|Loading: state => state.loading,
|
||||
get|-Module-|Selected: state => state.selected,
|
||||
|
||||
};
|
||||
|
@ -1,7 +1,9 @@
|
||||
export default {
|
||||
get|-Module-|: state => state.|-module-|,
|
||||
get|-Module-|s: state => state.|-module-|_list,
|
||||
get|-Module-|Loading: state => state.loading,
|
||||
get|-Module-|Pagination: state => state.pagination,
|
||||
get|-Module-|Selected: state => state.selected,
|
||||
getRowsPerPageItems: state => state.rowsPerPageItems,
|
||||
get|-Module-|Selected: state => state.|-module-|_selected,
|
||||
isFiltered|-Module-|: state => state.is_filtered,
|
||||
|
||||
};
|
||||
|
@ -1,14 +1,16 @@
|
||||
//import { |-module-|Paginate } from "@|-BaseModule-|/services/localStorage/|-module-|.storage";
|
||||
//import { |-Module-|Paginate } from "@|-BaseModule-|/services/localStorage/|-module-|.storage";
|
||||
|
||||
export default {
|
||||
module_info:{
|
||||
name: '|-module-|',
|
||||
module: '|-baseModule-|',
|
||||
},
|
||||
|-module-|: [],
|
||||
|-module-|_list: [],
|
||||
|-module-|_selected: [],
|
||||
//pagination: newsPaginate.getWithDefault(),
|
||||
filtered_|-module-|: [],
|
||||
//pagination: |-Module-|Paginate.getWithDefault(),
|
||||
loading: false,
|
||||
filters:{},
|
||||
is_filtered: false,
|
||||
};
|
||||
|
||||
|
@ -1,49 +1,49 @@
|
||||
<template>
|
||||
<v-app>
|
||||
<div id="app" class="we-dark">
|
||||
<wm-background C1="fff" C2="f1f1f1" C3="fff"/>
|
||||
<app-menu/>
|
||||
<v-main>
|
||||
<v-container fluid class="Login">
|
||||
<div class="Tile">
|
||||
<router-view/>
|
||||
<!-- <wm-tiles-layout></wm-tiles-layout> -->
|
||||
</div>
|
||||
</v-container>
|
||||
</v-main>
|
||||
</div>
|
||||
</v-app>
|
||||
<v-app>
|
||||
<div id="app" class="we-dark">
|
||||
<wm-background C1="fff" C2="f1f1f1" C3="fff"/>
|
||||
<app-menu/>
|
||||
<v-main>
|
||||
<v-container fluid class="Login">
|
||||
<div class="Tile">
|
||||
<router-view/>
|
||||
</div>
|
||||
</v-container>
|
||||
</v-main>
|
||||
</div>
|
||||
</v-app>
|
||||
</template>
|
||||
|
||||
|
||||
<script>
|
||||
import Background from "@Global/components/Body/Backgrounds/Gradient-CSS";
|
||||
import Menu from "@Global/components/Drawer/SideBar";
|
||||
import { mapMutations } from "vuex";
|
||||
import Background from "@Global/components/Body/Backgrounds/Gradient-CSS";
|
||||
import Menu from "@Global/components/Drawer/SideBar";
|
||||
import {mapMutations} from "vuex";
|
||||
|
||||
export default {
|
||||
components: {
|
||||
"wm-background": Background,
|
||||
appMenu: Menu
|
||||
},
|
||||
methods: {
|
||||
...mapMutations("common", ["SET_CURRENT_MODULE"])
|
||||
},
|
||||
created() {
|
||||
this.SET_CURRENT_MODULE("");
|
||||
}
|
||||
};
|
||||
export default {
|
||||
components: {
|
||||
"wm-background": Background,
|
||||
appMenu: Menu
|
||||
},
|
||||
methods: {
|
||||
...mapMutations("common", ["SET_CURRENT_MODULE"])
|
||||
},
|
||||
created() {
|
||||
this.SET_CURRENT_MODULE("product");
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
#app {
|
||||
background-color: transparent;
|
||||
// -webkit-font-smoothing: antialiased;
|
||||
// -moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
.WM-Container-Fluid {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
#app {
|
||||
background-color: transparent;
|
||||
// -webkit-font-smoothing: antialiased;
|
||||
// -moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.WM-Container-Fluid {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
@ -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