With sqlite instead of mysql server and using php local server, without needing apache or other separate web server.
./install.sh
./run.sh
Runs a local php server and prints out the address with port. Default is 8011
With installing and using wpcli:
./configure-wp.sh
Installs wordpress with default port and creates and admin user (with password: admin)
./cleanup.sh
Basically reerts everything (deletes wp, db, and leave the core scripts).
SQLite integration (db.sql) is from https://github.com/aaemnnosttv/wp-sqlite-db