Unverified Commit fc1fba56 authored by Mark Stenglein's avatar Mark Stenglein
Browse files

Add redis config to Ubuntu section of configure.sh

parent a3c0c70a
...@@ -33,6 +33,14 @@ if [ "$DISTRIB_ID" == "Ubuntu" ] ...@@ -33,6 +33,14 @@ if [ "$DISTRIB_ID" == "Ubuntu" ]
sudo apt-get install -y mongodb-org sudo apt-get install -y mongodb-org
## Service is started in start.sh file ## Service is started in start.sh file
fi fi
if ! haveProg redis-server
then
echo "** Installing redis-server"
sudo apt-get install -y redis-server
sudo mv /etc/redis/redis.conf /etc/redis/redis.conf.backup
sudo cp setupFiles/redis.conf /etc/redis/redis.conf
echo "** redis-server installed and configured"
fi
elif haveProg yum elif haveProg yum
then then
echo "** Installing as yum manager" echo "** Installing as yum manager"
......
...@@ -7,7 +7,7 @@ config.siteDescription = "A simple application to add your class schedule to cal ...@@ -7,7 +7,7 @@ config.siteDescription = "A simple application to add your class schedule to cal
// MongoDB config // MongoDB config
config.mongoDBURL = 'mongodb://localhost/schedules'; config.mongoDBURL = 'mongodb://localhost/schedules';
config.ReloadDB = true; config.ReloadDB = false;
config.schoolSlugs = { config.schoolSlugs = {
// Slug: Long Name // Slug: Long Name
......
This diff is collapsed.
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