-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.deploy.mk.example
More file actions
33 lines (29 loc) · 1.46 KB
/
Copy path.deploy.mk.example
File metadata and controls
33 lines (29 loc) · 1.46 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
# Copy this file to .deploy.mk and adjust values for your server.
# .deploy.mk is intentionally ignored by git.
# --- Staging / test deployment ---
# Where `make deploy` pushes phpMan.php for testing.
# Can be a completely different server/account from production.
# HOST format: user@host (e.g. deploy@example.com)
TEST_HOST = user@example.com
# SSH port — adjust if your server uses a non-default port (e.g. 2222)
TEST_PORT = 22
TEST_PATH = /path/to/example.com/test
# Web URL — include port if not 80/443 (e.g. https://example.com:8443/test/phpMan.php)
TEST_URL = https://example.com/test/phpMan.php
# --- Demo / production deployment ---
# Where `make release` pushes the public-facing demo.
DEMO_HOST = user@example.com
# SSH port — adjust if your server uses a non-default port (e.g. 2222)
DEMO_PORT = 22
DEMO_PATH = /path/to/example.com
# Web URL — include port if not 80/443 (e.g. https://example.com:8443/phpMan.php)
DEMO_URL = https://example.com/phpMan.php
# --- Cache directories (outside webroot) ---
# Cache is stored outside webroot for security — no .htaccess needed.
TEST_CACHE_DIR = /path/to/phpman_cache/staging
DEMO_CACHE_DIR = /path/to/phpman_cache/production
# --- Server logs (for post-deploy log check via `make release-logcheck`) ---
# Paths to access and error logs on the demo/production server.
# `make release-logcheck` checks these after release to catch new issues.
DEMO_ACCESS_LOG = /var/log/nginx/access.log
DEMO_ERROR_LOG = /var/log/nginx/error.log