Initial commit: Auth Server Base
This commit is contained in:
25
.gitignore
vendored
Normal file
25
.gitignore
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
cat << 'EOF' > .gitignore
|
||||
# 1. Игнорируем ВСЁ в корне сайта
|
||||
/*
|
||||
|
||||
# 2. Разрешаем (белый список) только нужные корневые папки
|
||||
!/api/
|
||||
!/auth/
|
||||
!/personal/
|
||||
!/register/
|
||||
!/local/
|
||||
!/.gitignore
|
||||
|
||||
# 3. Заходим внутрь local, но игнорируем там всё лишнее
|
||||
/local/*
|
||||
!/local/components/
|
||||
!/local/modules/
|
||||
|
||||
# 4. Внутри modules оставляем ТОЛЬКО conmed.authserver
|
||||
/local/modules/*
|
||||
!/local/modules/conmed.authserver/
|
||||
|
||||
# 5. Внутри components оставляем ТОЛЬКО conmed
|
||||
/local/components/*
|
||||
!/local/components/conmed/
|
||||
EOF
|
||||
Reference in New Issue
Block a user