Project-2 baseline
This commit is contained in:
@@ -208,6 +208,38 @@ case "$REPO" in
|
||||
printf "${GRAY}Want another container with its own separate working tree (e.g. a different commit / repo state)?${RESET}\n"
|
||||
printf "${GRAY}On the host, from explore/: node instance.js b then: node instance.js shell b${RESET}\n\n"
|
||||
;;
|
||||
frepple)
|
||||
printf "${COLOR}Run the app${RESET} in one command: ${GRAY}run-app${RESET} — starts the Django web app.\n"
|
||||
printf "Open ${GRAY}http://localhost:${CLIENT_PORT}/${RESET} and sign in as ${GRAY}admin${RESET} / ${GRAY}frepple${RESET}\n"
|
||||
printf "Setup loaded the ${GRAY}demo${RESET} dataset, so items, buffers, operations and demands are\n"
|
||||
printf "already there. Other datasets: ${GRAY}frepplectl.py loaddata manufacturing_demo${RESET} (also\n"
|
||||
printf "distribution_demo, jobshop, flow_line).\n\n"
|
||||
printf "${YELLOW}Three languages, one app${RESET} — a C++ planning engine (${GRAY}src/${RESET}, built in-tree to\n"
|
||||
printf "${GRAY}bin/frepple${RESET}), a Django app (${GRAY}freppledb/${RESET}) and a Vue frontend.\n"
|
||||
printf "Two test suites:\n"
|
||||
printf "${GRAY}cd test && ./runtest.py${RESET} the 83 engine scenarios, seconds, no database\n"
|
||||
printf "${GRAY}./frepplectl.py test freppledb${RESET} the Django suite, a few minutes\n"
|
||||
printf "Rebuild the engine after editing ${GRAY}src/${RESET}: ${GRAY}cmake --build build --parallel${RESET}\n\n"
|
||||
printf "${GRAY}The two browser tests (freppledb/*/tests/test_frontend.py) need Chrome and fail${RESET}\n"
|
||||
printf "${GRAY}here; that is expected, not your environment.${RESET}\n\n"
|
||||
printf "${GRAY}Want another container with its own separate working tree (e.g. a different commit / repo state)?${RESET}\n"
|
||||
printf "${GRAY}On the host, from explore/: node instance.js b then: node instance.js shell b${RESET}\n\n"
|
||||
;;
|
||||
freeitsm)
|
||||
printf "${COLOR}Run the app${RESET} in one command: ${GRAY}run-app${RESET} — boots Apache (mod_php).\n"
|
||||
printf "Open ${GRAY}http://localhost:${CLIENT_PORT}/${RESET} and sign in as ${GRAY}admin${RESET} / ${GRAY}freeitsm123${RESET}\n"
|
||||
printf "(staff sign-in; setup already cleared the forced password change). Setup seeds demo\n"
|
||||
printf "data for 19 of the 20 modules; the LMS importer refuses and is left empty.\n\n"
|
||||
printf "${YELLOW}No framework and no composer${RESET} — plain PHP served from the repo root.\n"
|
||||
printf "Verifier: the ${GRAY}27 standalone scripts in tests/${RESET}, run one at a time:\n"
|
||||
printf "${GRAY}su -s /bin/bash www-data -c 'cd /workspace/repo && php tests/cmdb-typed-fields.php'${RESET}\n"
|
||||
printf "Run them as ${YELLOW}www-data${RESET}: they write a PHP session file that Apache reopens, so as\n"
|
||||
printf "root the HTTP-driving ones fail with ${GRAY}Not authenticated${RESET}.\n"
|
||||
printf "${GRAY}calendar-sync-tasks.php${RESET} and ${GRAY}task-recurrence-spawn.php${RESET} exit non-zero printing\n"
|
||||
printf "nothing — a pre-existing defect in those two scripts, not your environment.\n\n"
|
||||
printf "${GRAY}Want another container with its own separate working tree (e.g. a different commit / repo state)?${RESET}\n"
|
||||
printf "${GRAY}On the host, from explore/: node instance.js b then: node instance.js shell b${RESET}\n\n"
|
||||
;;
|
||||
breezy-complete)
|
||||
printf "${COLOR}Run the app${RESET} in one command: ${GRAY}run-app${RESET} — boots the Rails API (${GRAY}backend/${RESET}) and the\n"
|
||||
printf "Next.js frontend (${GRAY}frontend/${RESET}). Open ${GRAY}http://localhost:${CLIENT_PORT}/pro_signin${RESET} — auth is\n"
|
||||
@@ -219,4 +251,10 @@ case "$REPO" in
|
||||
printf "${GRAY}Want another container with its own separate working tree (e.g. a different commit / repo state)?${RESET}\n"
|
||||
printf "${GRAY}On the host, from explore/: node instance.js b then: node instance.js shell b${RESET}\n\n"
|
||||
;;
|
||||
*)
|
||||
printf "${COLOR}Run the app${RESET} in one command: ${GRAY}run-app${RESET}, then open ${GRAY}http://localhost:${CLIENT_PORT}/${RESET}\n"
|
||||
printf "See ${GRAY}README.md${RESET} for this toolkit's verifier command and any repo-specific setup.\n\n"
|
||||
printf "${GRAY}Want another container with its own separate working tree (e.g. a different commit / repo state)?${RESET}\n"
|
||||
printf "${GRAY}On the host, from explore/: node instance.js b then: node instance.js shell b${RESET}\n\n"
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user