Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

Commit

Permalink
Merge pull request #12 from davidschlachter/master
Browse files Browse the repository at this point in the history
Fix update bugs, change server, untrack course database.
  • Loading branch information
davidschlachter authored Sep 16, 2016
2 parents 25fc328 + b75d50e commit 7681e5a
Show file tree
Hide file tree
Showing 13 changed files with 61 additions and 43,271 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
*.pyc
skippedCourses.txt
courses.txt
db_courses.csv
db_sections.csv
courseCodes.csv
db_activities.csv
40 changes: 40 additions & 0 deletions Documentation/schedule-generator.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# systemd init script for running the server.
# To use: make a system user, 'schedgen', adjust the paths below,
# where WorkingDirectory is where the server executable is, with the
# schedule files at ../course-download.
#
# Move the script to /etc/systemd/system/schedule-generator.service,
# and use systemctl enable schedule-generator to enable it.
#

[Unit]
Description=Server for the uOttawa schedule generator
Requires=network.target
After=network.target

[Service]
WorkingDirectory=/etc/schedgen/uOttawa Schedule Generator/schedule-generator-master
User=schedgen
Group=schedgen
#Environment=
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=
# Keeping the CapabilityBoundingSet empty is restrictive
# ref. http://man7.org/linux/man-pages/man7/capabilities.7.html
CapabilityBoundingSet=
InaccessibleDirectories=/media
PrivateDevices=true
PrivateTmp=true
# ProtectSystem can be 'full' if we want /etc to be read-only
# as well, but if we do this we can't make server.stat
ProtectSystem=true
ProtectHome=true
NoNewPrivileges=true
Type=simple
ExecStart=/usr/bin/java -jar ServerConsole-v1.1.0.jar 5555
Restart=always
RestartSec=60

[Install]
WantedBy=default.target
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ University of Ottawa students have no easy way to generate a conflict-free, opti

Now that that class is done, we are continuing development on the project, as it is a useful utility when working with uOttawa's Rabaska course-registration system.

## [Download](https://github.com/morinted/schedule-generator/releases/download/v1.1.0/uOttawa-Schedule-Generator-v1.1.0.jar)
## [Download](https://github.com/davidschlachter/schedule-generator/releases/download/v1.1.1/uOttawa-Schedule-Generator-v1.1.1.jar)

If you just want to get started generating schedules right away, then [download the program for Windows, Mac, and Linux](https://github.com/morinted/schedule-generator/releases/download/v1.1.0/uOttawa-Schedule-Generator-v1.1.0.jar). Note that you need Java to run the .jar file. Check out the user's guide below if you get confused while using the program.
If you just want to get started generating schedules right away, then [download the program for Windows, Mac, and Linux](https://github.com/davidschlachter/schedule-generator/releases/download/v1.1.1/uOttawa-Schedule-Generator-v1.1.1.jar). Note that you need Java to run the .jar file. Check out the user's guide below if you get confused while using the program.

## Features

Expand Down
Loading

0 comments on commit 7681e5a

Please sign in to comment.