mirror of
https://ghproxy.net/https://github.com/elementor/wp2static.git
synced 2025-08-29 05:44:27 +08:00
.. | ||
clj/wp2static_test | ||
mariadb | ||
nginx | ||
php | ||
test/wp2static_test | ||
.dir-locals.el | ||
.envrc | ||
bedrock.env | ||
bedrock.sh | ||
default.nix | ||
deps.edn | ||
htpasswd | ||
mariadb.sh | ||
nginx.conf | ||
README.md | ||
run-dev-server.sh | ||
shell.nix | ||
test-matrix.sh | ||
wordpress.sh | ||
wp-config.php |
WP2Static Integration Tests
Tests for WP2Static's behavior with a real web server and database.
Installation
You will need to set up Nix and direnv. Then restart your shell and run direnv allow
from this directory. Nix will install the dependencies.
Optional:
- nix-direnv is much faster than the default, but it takes a little extra setup.
- envrc.el provides fast direnv integration for emacs.
Usage
nix-shell --run "clojure -X:test"
Test system
- NGINX on localhost:7000, 7001, and 7002
- MariaDB on mariadb/data/mysql.sock
- PHP-FPM on php/fpm.sock
- WordPress at localhost:7000
- Bedrock at localhost:7001
- WordPress with basic auth at localhost:7002