Commit e5a7f0a1 authored by Curtis Adam's avatar Curtis Adam

Fix CodeStyle issues

parent 23a3b4b4
......@@ -39,5 +39,10 @@
"cas": {
"baseUrl": "https://cas.thm.de/cas",
"autoClose": true
},
"mail": {
"senderAddress": "info@arsnova.cards",
"language": "de",
"url": "smtp://postmaster%40sandboxcc4938befa8447ca8c857cdf4b968653.mailgun.org:d07ea9c40ccbb21d268bbda17e9aad9d@smtp.mailgun.org:587"
}
}
Feature: Create college and course
As an admin,
so that a cardset can assigned to a college and course,
......
import {login, setResolution, agreeCookies} from "../helper_functions";
module.exports = function () {
'use strict';
var countBeforeCreated = 0;
var countCards = 0;
'use strict';
/**
* ---------------------------------------------------------------------
* Background
......
......@@ -36,21 +36,21 @@ checkDirectory
for testDir in $searchDir; do
if [ -d $testDir ]; then
echo -e $BLUE"Entering directory $testDir" $NC
# drop the database
echo -e $GREEN"Dropping database ..." $NC
if ! echo "db.dropDatabase()" | meteor mongo --allow-superuser ; then
echo -e $RED"error dropping meteor database" $NC
exit 3
fi
# Restore the database
echo -e $GREEN"Restoring database ..." $NC
if ! mongorestore --drop -h 127.0.0.1 --port 3001 -d meteor $dumpDir 1> /dev/null; then
if ! mongorestore --quiet --drop -h 127.0.0.1 --port 3001 -d meteor $dumpDir 1> /dev/null; then
echo -e $RED"mongorestore failed!" $NC
exit 2
fi
# Run chimp
echo -e $GREEN"Running chimp ..." $NC
if [ $DISPLAY -n ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment