Skip to content

The Build Script

Sean Batzel edited this page Oct 30, 2017 · 4 revisions

The ctleweb/ directory includes a *nix-type shell script to simplify otherwise heavy command-line tasks. The script may be run by calling ./build.sh from a Bourne-compatible shell (bash, sh, zsh). This will print out the following guide on the syntax:

./build.sh [command]
    clean: cleans out all non-source files
    migrate: creates the database
    run: runs the development server
    all-run: cleans, compiles, migrates, and starts the development server
    all: performs all cleaning, compiling, and testing functions
    restart: restarts the production Apache daemon
    backup: saves an SQL dump of the database to the current home directory
    restore [filename]: recreates the database from an sql file.

Clone this wiki locally