-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.env.example
More file actions
93 lines (81 loc) · 2.86 KB
/
Copy path.env.example
File metadata and controls
93 lines (81 loc) · 2.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#
# Plugin identity (see dev-workspace README: keep keys aligned with composer.json extra)
#
PLUGIN_NAME="PublishPress Authors"
PLUGIN_TYPE="FREE"
PLUGIN_COMPOSER_PACKAGE="publishpress/publishpress-authors"
PLUGIN_SLUG="publishpress-authors"
#
# Git / GitHub (optional; set token for releases/API; leave name/email empty to be prompted)
#
GITHUB_ACCESS_TOKEN="ghp_0000000000000000000000000000000000000000"
GIT_USER_NAME=""
GIT_USER_EMAIL=""
#
# Docker (shared image tags — use the same values across all PublishPress plugins)
#
CONTAINER_NAME="authors_free"
TERMINAL_IMAGE_NAME="publishpress/dev-workspace-terminal:node-25"
WP_IMAGE_NAME="publishpress/dev-workspace-wordpress:wordpress-6.9-php-8.5"
WPCLI_IMAGE_NAME="publishpress/dev-workspace-wpcli:wpcli-2-php-8.5"
#
# Local cache (relative to plugin root unless absolute)
#
CACHE_PATH="./dev-workspace-cache"
#
# WordPress / Codeception test paths
#
# Relative to the directory that contains codeception.yml, or absolute.
WP_TESTS_ROOT_DIR="dev-workspace-cache/wp_test"
# Database: mysql://user:pass@host:port/db — tests must not point at production data.
# TCP example:
WP_TESTS_DB_URL="mysql://root:root@127.0.0.1:3331/wordpress"
# Socket example (uncomment and adjust):
# WP_TESTS_DB_URL="mysql://root:root@localhost/wordpress?unix_socket=/path/to/mysql.sock"
WP_TESTS_TEST_TABLE_PREFIX="wp_"
WP_TESTS_TABLE_PREFIX="wp_"
#
# Published ports (change if they conflict with other containers)
#
WP_TESTS_HTTP_PORT="8031"
DB_TESTS_PORT="3331"
MAILHOG_WEB_PORT="8033"
MAILHOG_SMTP_PORT="8034"
#
# End-to-end tests (WordPress site under test)
#
WP_TESTS_URL="http://localhost:8031"
WP_TESTS_DOMAIN="localhost:8031"
WP_TESTS_ADMIN_PATH="/wp-admin"
WP_TESTS_ADMIN_USER="admin"
WP_TESTS_ADMIN_PASSWORD="admin"
#
# ChromeDriver (composer scripts may source .env for CHROMEDRIVER_*)
#
CHROMEDRIVER_HOST="localhost"
CHROMEDRIVER_PORT="9515"
CHROMEDRIVER_BINARY="/opt/homebrew/bin/chromedriver"
#
# Translations (lang-make-json and related)
#
# LANG_LOCALES is optional. Default value is all the languages we agreed to provide.
#
LANG_LOCALES="ar cs_CZ da_DK de_DE el es_ES fa_IR fi fil fr_FR he_IL hu_HU id_ID it_IT ja ko_KR nl_NL pl_PL pt_BR pt_PT ro_RO ru_RU sv_SE th tr_TR vi yor zh_CN"
LANG_DOMAIN="publishpress-authors"
LANG_DIR="languages"
GENERATE_TRANSLATION_JSON="1"
#
# Sync (optional; set to your machine — placeholders only in the template)
#
LOCAL_SYNC_TARGET_DIR="/path/to/wp-content/plugins/publishpress-authors"
REMOTE_SYNC_SOURCE_DIR="/path/to/publishpress-authors/checkout"
REMOTE_SYNC_REMOTE_HOST="example-host"
REMOTE_SYNC_REMOTE_PORT="22"
REMOTE_SYNC_REMOTE_TARGET_DIR="/path/to/remote/wp-content/plugins/publishpress-authors"
SSH_KEY_PATH="/path/to/your/private_key"
#
# Translation services (optional)
#
OPENAI_API_KEY="sk-proj-your-openai-key"
WEBLATE_API_TOKEN="wlu_your-weblate-token"
WEBLATE_API_URL="https://weblate.publishpress.com/api"