fix: do not create alex user in docker compose steps

This commit is contained in:
Shariq Ansari 2024-10-31 22:17:20 +05:30
parent bb8c2322e4
commit ac7f708de3
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@ version: "3.7"
name: crm
services:
mariadb:
image: mariadb:10.6
image: mariadb:10.8
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci

View File

@ -22,7 +22,7 @@ bench set-redis-socketio-host redis:6379
sed -i '/redis/d' ./Procfile
sed -i '/watch/d' ./Procfile
bench get-app crm
bench get-app crm --branch develop
bench new-site crm.localhost \
--force \
@ -34,7 +34,6 @@ bench --site crm.localhost install-app crm
bench --site crm.localhost set-config developer_mode 1
bench --site crm.localhost clear-cache
bench --site crm.localhost set-config mute_emails 1
bench --site crm.localhost add-user alex@example.com --first-name Alex --last-name Scott --password 123 --user-type 'System User' --add-role 'crm Admin'
bench use crm.localhost
bench start