Skip to content

Commit d19e51d

Browse files
committed
fix: remove apps and improv lang
1 parent e07ca4a commit d19e51d

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

local/Makefile

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
all: init-all
22

3-
init-all: init-db init-proxy init-app set-configs install-apps init-cron
3+
init-all: init-db init-proxy init-app set-locale set-config init-cron
44

55
init-db:
66
docker-compose up -d db
@@ -13,18 +13,14 @@ init-app:
1313
docker-compose up -d web app
1414
until docker-compose exec --user www-data app php occ status --output=json | grep -e "{\"installed\":true,"; do echo "Awaiting for NextCloud installation"; sleep 10; done
1515

16-
install-apps:
17-
docker-compose exec --user www-data app php occ app:install deck
18-
docker-compose exec --user www-data app php occ app:install calendar
19-
docker-compose exec --user www-data app php occ app:install contacts
16+
LANG=pt_BR
17+
set-locale:
18+
docker-compose exec --user www-data app php occ config:system:set default_locale --value ${LANG}
19+
docker-compose exec --user www-data app php occ config:system:set default_language --value ${LANG}
20+
docker-compose exec --user www-data app sh -c "php occ user:setting \$$NEXTCLOUD_ADMIN_USER core lang ${LANG}"
2021

21-
set-configs:
22-
docker-compose exec --user www-data app php occ config:system:set default_locale --value pt_BR
23-
docker-compose exec --user www-data app php occ config:system:set default_language --value pt_BR
22+
set-config:
2423
docker-compose exec --user www-data app php occ config:system:set skeletondirectory --value ""
25-
docker-compose exec --user www-data app sh -c "php occ user:setting \$$NEXTCLOUD_ADMIN_USER core lang pt_BR"
2624

2725
init-cron:
2826
docker-compose up -d cron
29-
30-

local/Readme.md renamed to local/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Este projeto cria uma instância no Docker do NextCloud para ambientes locais co
66
- em português;
77
- com um banco PostgreSQL;
88
- com um usuário administrador;
9-
- com os aplicativos Deck, Calendar e Contacts;
109
- com o sistema de cron habilitado;
1110

1211
## Setup inicial

0 commit comments

Comments
 (0)