Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mattias J Duffy
schedules
Commits
fc1fba56
Unverified
Commit
fc1fba56
authored
Aug 07, 2016
by
Mark Stenglein
Browse files
Add redis config to Ubuntu section of configure.sh
parent
a3c0c70a
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
configure.sh
View file @
fc1fba56
...
...
@@ -33,6 +33,14 @@ if [ "$DISTRIB_ID" == "Ubuntu" ]
sudo
apt-get
install
-y
mongodb-org
## Service is started in start.sh file
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
then
echo
"** Installing as yum manager"
...
...
schedules/config.js
View file @
fc1fba56
...
...
@@ -7,7 +7,7 @@ config.siteDescription = "A simple application to add your class schedule to cal
// MongoDB config
config
.
mongoDBURL
=
'
mongodb://localhost/schedules
'
;
config
.
ReloadDB
=
tru
e
;
config
.
ReloadDB
=
fals
e
;
config
.
schoolSlugs
=
{
// Slug: Long Name
...
...
setupFiles/redis.conf
0 → 100644
View file @
fc1fba56
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment