Warning: This page has not been updated in over over a year and may be outdated or deprecated.
videos:testing_1
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
videos:testing_1 [2021/05/04 17:06] – created demiankatz | videos:testing_1 [2021/05/04 17:17] – demiankatz | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Video 16: Testing, Part 1: Setting Up a Test Environment ====== | ====== Video 16: Testing, Part 1: Setting Up a Test Environment ====== | ||
- | // Details coming | + | The sixteenth VuFind instructional video discusses some tools for ensuring that VuFind' |
+ | |||
+ | Video is available as an [[https:// | ||
+ | |||
+ | ===== Scripts ===== | ||
+ | |||
+ | Several scripts are created during the course of this video; they are transcribed here for your convenience. | ||
+ | |||
+ | ==== chrome-headless.sh ==== | ||
+ | |||
+ | <code bash> | ||
+ | # | ||
+ | google-chrome --disable-gpu --headless --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222 --window-size=" | ||
+ | |||
+ | ==== chrome-testmode.sh ==== | ||
+ | |||
+ | <code bash> | ||
+ | # | ||
+ | google-chrome --disable-gpu --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222 --window-size=" | ||
+ | |||
+ | ==== phing.sh ==== | ||
+ | |||
+ | <code bash> | ||
+ | # | ||
+ | |||
+ | # Set environmental variables | ||
+ | source ~/ | ||
+ | |||
+ | # Reinstall dependencies | ||
+ | if [ ! -e $VUFIND_HOME/ | ||
+ | then | ||
+ | cd $VUFIND_HOME | ||
+ | composer install | ||
+ | fi | ||
+ | |||
+ | # Run phing with preferred parameters | ||
+ | $VUFIND_HOME/ | ||
+ | </ | ||
+ | |||
+ | ==== testenv.sh ==== | ||
+ | |||
+ | <code bash> | ||
+ | export VUFIND_HOME=/ | ||
+ | export VUFIND_LOCAL=$VUFIND_HOME/ | ||
+ | </ | ||
+ | |||
+ | ===== Related Resources ===== | ||
+ | |||
+ | - [[development: | ||
+ | - [[development: | ||
+ | |||
+ | ===== Transcript ===== | ||
+ | |||
+ | // Coming | ||
---- struct data ---- | ---- struct data ---- | ||
---- | ---- | ||
videos/testing_1.txt · Last modified: 2023/05/09 20:58 by crhallberg