mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-04-26 20:24:26 +08:00
12 lines
351 B
Text
12 lines
351 B
Text
# Simple way to configure test database from environment
|
|
|
|
# Database backend to use postgresql / mysql / mariadb
|
|
export CI_DATABASE=${1:-postgresql}
|
|
|
|
# Database server configuration
|
|
export CI_DB_USER=weblate
|
|
export CI_DB_PASSWORD=weblate
|
|
export CI_DB_HOST=127.0.0.1
|
|
|
|
# Django settings module to use
|
|
export DJANGO_SETTINGS_MODULE=weblate.settings_test
|