forked from public/pyceo
15 lines
296 B
Bash
Executable File
15 lines
296 B
Bash
Executable File
#!/bin/sh
|
|
# $Id: initialize.sh 13 2006-12-15 03:57:00Z mspang $
|
|
# Initializes a database for CEO.
|
|
|
|
# initialize the database
|
|
createdb $1
|
|
createlang plpythonu $1
|
|
|
|
# initialize the tables
|
|
psql $1 < structure.sql
|
|
|
|
# initialize check triggers
|
|
psql $1 < verify_studentid.sql
|
|
psql $1 < verify_term.sql
|