Last active
February 12, 2025 20:11
-
-
Save amfischer/3c5f988bb5937609faa00ca5a8afa426 to your computer and use it in GitHub Desktop.
vscode settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_size = 4 | |
indent_style = space | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
[*.md] | |
trim_trailing_whitespace = false | |
[*.{yml,yaml}] | |
indent_size = 2 | |
[docker-compose.yml] | |
indent_size = 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
laravel.test: | |
build: | |
context: ./docker/8.3 | |
dockerfile: Dockerfile | |
args: | |
WWWGROUP: '${WWWGROUP}' | |
NODE_VERSION: '22' | |
image: sail-8.3/app | |
extra_hosts: | |
- 'host.docker.internal:host-gateway' | |
ports: | |
- '${APP_PORT:-80}:80' | |
- '${VITE_PORT:-5173}:${VITE_PORT:-5173}' | |
environment: | |
WWWUSER: '${WWWUSER}' | |
LARAVEL_SAIL: 1 | |
XDEBUG_MODE: '${SAIL_XDEBUG_MODE:-off}' | |
XDEBUG_CONFIG: '${SAIL_XDEBUG_CONFIG:-client_host=host.docker.internal}' | |
IGNITION_LOCAL_SITES_PATH: '${PWD}' | |
volumes: | |
- '.:/var/www/html' | |
networks: | |
- sail | |
depends_on: | |
- mysql | |
- mailpit | |
- meilisearch | |
mysql: | |
image: 'mysql/mysql-server:8.0' | |
ports: | |
- '${FORWARD_DB_PORT:-3306}:3306' | |
environment: | |
MYSQL_ROOT_PASSWORD: '${DB_PASSWORD}' | |
MYSQL_ROOT_HOST: '%' | |
MYSQL_DATABASE: '${DB_DATABASE}' | |
MYSQL_USER: '${DB_USERNAME}' | |
MYSQL_PASSWORD: '${DB_PASSWORD}' | |
MYSQL_ALLOW_EMPTY_PASSWORD: 1 | |
volumes: | |
- 'sail-mysql:/var/lib/mysql' | |
- './docker/mysql/create-testing-database.sh:/docker-entrypoint-initdb.d/10-create-testing-database.sh' | |
networks: | |
- sail | |
healthcheck: | |
test: | |
- CMD | |
- mysqladmin | |
- ping | |
- '-p${DB_PASSWORD}' | |
retries: 3 | |
timeout: 5s | |
mailpit: | |
image: 'axllent/mailpit:latest' | |
ports: | |
- '${FORWARD_MAILPIT_PORT:-1025}:1025' | |
- '${FORWARD_MAILPIT_DASHBOARD_PORT:-8025}:8025' | |
networks: | |
- sail | |
meilisearch: | |
image: 'getmeili/meilisearch:latest' | |
ports: | |
- '${FORWARD_MEILISEARCH_PORT:-7700}:7700' | |
environment: | |
MEILI_NO_ANALYTICS: '${MEILISEARCH_NO_ANALYTICS:-false}' | |
volumes: | |
- 'sail-meilisearch:/meili_data' | |
networks: | |
- sail | |
healthcheck: | |
test: | |
- CMD | |
- wget | |
- '--no-verbose' | |
- '--spider' | |
- 'http://localhost:7700/health' | |
retries: 3 | |
timeout: 5s | |
networks: | |
sail: | |
driver: bridge | |
volumes: | |
sail-mysql: | |
driver: local | |
sail-meilisearch: | |
driver: local |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db: | |
docker-compose exec mysql sh | |
dbdump: | |
docker-compose exec mysql mysqldump -uroot -ppassword --skip-comments laravel > /home/aaron/coid.sql | |
dbwipe: | |
./vendor/bin/sail artisan db:wipe | |
dbfresh: | |
./vendor/bin/sail artisan migrate:fresh --seed | |
dbimport: | |
: > ./storage/logs/laravel.log | |
./vendor/bin/sail php -d memory_limit=1G artisan migrate:initial-import | |
dbtrans: | |
./vendor/bin/sail php -d memory_limit=1G artisan migrate:transactions-import | |
dbimportnolimit: | |
./vendor/bin/sail artisan migrate:initial-import | |
dbtransnolimit: | |
./vendor/bin/sail artisan migrate:transactions-import | |
dbfinish: | |
./vendor/bin/sail artisan db:seed PostImportSeeder | |
logs: | |
./vendor/bin/sail artisan db:seed LegacyImportActivityLogSeeder | |
scout: | |
./vendor/bin/sail artisan scout:refresh | |
rp: | |
./vendor/bin/sail artisan db:seed RolesPermissionsSeeder | |
notes: | |
./vendor/bin/sail artisan db:seed NoteSeeder | |
meili: | |
./vendor/bin/sail artisan scout:sync-index-settings | |
m ?= Rotation | |
si: | |
./vendor/bin/sail artisan scout:import "App\Models\${m}" | |
sf: | |
./vendor/bin/sail artisan scout:flush "App\Models\${m}" | |
scouti: | |
./vendor/bin/sail artisan scout:import "App\Models\User" | |
./vendor/bin/sail artisan scout:import "App\Models\Help" | |
./vendor/bin/sail artisan scout:import "App\Models\Pod" | |
./vendor/bin/sail artisan scout:import "App\Models\Beat" | |
./vendor/bin/sail artisan scout:import "App\Models\Headgate" | |
./vendor/bin/sail artisan scout:import "App\Models\WaterRight" | |
./vendor/bin/sail artisan scout:import "App\Models\TaxLot" | |
scoutf: | |
./vendor/bin/sail artisan scout:flush "App\Models\User" | |
./vendor/bin/sail artisan scout:flush "App\Models\Help" | |
./vendor/bin/sail artisan scout:flush "App\Models\Pod" | |
./vendor/bin/sail artisan scout:flush "App\Models\Beat" | |
./vendor/bin/sail artisan scout:flush "App\Models\Headgate" | |
./vendor/bin/sail artisan scout:flush "App\Models\WaterRight" | |
./vendor/bin/sail artisan scout:flush "App\Models\TaxLot" | |
# p ?= Unit/Transfers/ExitedWaterServiceTest.php | |
p ?= Feature/WaterRights/Transfers/ExitedWaterTest.php | |
pest: | |
./vendor/bin/pest "tests/${p}" | |
pall: | |
./vendor/bin/pest | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"intelephense.files.associations": [ | |
"*.php", | |
"*.phtml" | |
], | |
"explorer.autoReveal": false, | |
"editor.stickyScroll.enabled": false, | |
"[vue]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"eslint.format.enable": false, | |
"eslint.lintTask.options": "-c ./.eslintrc.json", | |
"eslint.codeActionsOnSave.rules": null, | |
"eslint.useESLintClass": true, | |
"debug.allowBreakpointsEverywhere": true, | |
"vue.inlayHints.missingProps": true, | |
"vue.inlayHints.optionsWrapper": true, | |
"prettier.printWidth": 160, | |
"prettier.tabWidth": 4, | |
"editor.foldingStrategy": "indentation", | |
"vue.autoInsert.dotValue": true, | |
"eslint.rules.customizations": [] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"[handlebars]": { | |
"editor.suggest.insertMode": "replace", | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"files.associations": { | |
"*.html": "handlebars", | |
"*.htm": "php" | |
}, | |
"breadcrumbs.showBooleans": false, | |
"breadcrumbs.showClasses": false, | |
"breadcrumbs.showConstants": false, | |
"breadcrumbs.showConstructors": false, | |
"breadcrumbs.showEnumMembers": false, | |
"breadcrumbs.showEnums": false, | |
"breadcrumbs.showEvents": false, | |
"breadcrumbs.showFields": false, | |
"breadcrumbs.showFunctions": false, | |
"breadcrumbs.showInterfaces": false, | |
"breadcrumbs.showKeys": false, | |
"breadcrumbs.showMethods": false, | |
"breadcrumbs.showModules": false, | |
"breadcrumbs.showNamespaces": false, | |
"breadcrumbs.showNull": false, | |
"breadcrumbs.showNumbers": false, | |
"breadcrumbs.showObjects": false, | |
"breadcrumbs.showOperators": false, | |
"breadcrumbs.showPackages": false, | |
"breadcrumbs.showProperties": false, | |
"breadcrumbs.showStrings": false, | |
"breadcrumbs.showStructs": false, | |
"breadcrumbs.showTypeParameters": false, | |
"breadcrumbs.showVariables": false, | |
"git.confirmSync": false, | |
"diffEditor.ignoreTrimWhitespace": false, | |
"[vue]": { | |
"editor.defaultFormatter": "Vue.volar" | |
}, | |
"[jsonc]": { | |
"editor.defaultFormatter": "vscode.json-language-features" | |
}, | |
"[css]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"workbench.editor.splitInGroupLayout": "vertical", | |
"[scss]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"redhat.telemetry.enabled": true, | |
"diffEditor.maxComputationTime": 0, | |
"workbench.sideBar.location": "right", | |
"[json]": { | |
"editor.defaultFormatter": "vscode.json-language-features" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment