##// END OF EJS Templates
update rc/models.py to last version:...
update rc/models.py to last version: - monitor channel - cgs_status

File last commit:

r328:e61e12b2d8be
r418:d19764ba5024 ver_3Julio
Show More
create_db.sh
9 lines | 252 B | application/x-sh | BashLexer
#!/bin/bash
set -e
echo "Creating database & user"
psql -v --username "postgres" --dbname "postgres" <<-EOSQL
CREATE USER $DB_USER WITH PASSWORD '$DB_PASSWORD';
CREATE DATABASE $DB_NAME;
GRANT ALL PRIVILEGES ON DATABASE $DB_NAME TO $DB_USER;
EOSQL