The page provides a reference guide to the top-level scripts for managing Makahiki.
Use this script to create an instance with different types of configuration:
if -r or –heroku is specified, it will initialize the instance in the specified heroku app.
Invocation: scripts/initialize_postgres.py
Creates makahiki database and user within postgres database. Assumes that the user postgres is trusted and can login without authentication. This is usually the case by default.
Invocation: scripts/update_instance .py -r|–heroku[=] <heroku_app>
Use this script to update an instance:
if -r or –heroku is specified, it will initialize the instance in the specified heroku app.
Invocation: compile_less.py [-v | –verbose]
Compiles all of the LESS style files into CSS.
Compiles all the themes and individual page style sheets, creating CSS files for each theme containing all necessary definitions.
Invocation: scripts/coverage.py
Invocation: scripts/dump_data.py
Creates a set of json files in the dumped_data directory containing the current state. This state can be loaded into a new instance using load_data.
Invocation: scripts/verify.py
Runs pep8, pylint, and tests. If all are successful, there is no output and program terminates normally. If any errors, prints output from unsuccessful programs and exits with non-zero error code.