Skip to content

Deployed Environment

Razvan Deaconescu edited this page Dec 8, 2013 · 5 revisions

Currently, the WoUSO framework is used for the Introduction to Operating Systems class (USO, 1st year) (https://wouso.cs.pub.ro/) and the Operating Systems class (SO, 3rd year) (https://woso.cs.pub.ro/).

The server in use is wouso.cs.pub.ro. It uses nginx and MySQL.

Server Configs

nginx configuration is stored in /etc/nginx/sites-enabled/:

root@wouso:/etc/nginx/sites-enabled# ls -l
total 0
lrwxrwxrwx 1 root root 33 Jan 22  2013 woso.cs.pub.ro -> ../sites-available/woso.cs.pub.ro
lrwxrwxrwx 1 root root 40 Dec  8 11:58 wouso-next.rosedu.org -> ../sites-available/wouso-next.rosedu.org
lrwxrwxrwx 1 root root 34 Jan 31  2012 wouso.cs.pub.ro -> ../sites-available/wouso.cs.pub.ro

The above files store configurations for:

The configuration files store both HTTP and HTTPS-based information.

wouso-next.rosedu.org is the up-to-date running instance of wouso and may be used for development purposes and live testing of the latest features before pushing them to wouso.cs.pub.ro.

wouso.cs.pub.ro uses a separate URL for each year/version of the game:

WoUSO Framework Content

The user wouso from wouso.cs.pub.ro stores most of the content used for the games.

wouso@wouso:~$ ls -F
README                          fqchecker@         update-next.sh*
alex.sh*                        instances.sh*      update-woso-2013.sh*
backup/                         log/               var/
backup.sql                      sites/             wouso-content/
check_and_revive_2012.sh*       startall.sh*       wouso-content-2011/
check_and_revive_2013.sh*       stopall.sh*        wouso-extras/
check_and_revive_cs4hs.sh*      update-2012.sh*    wouso-extras1/
check_and_revive_next.sh*       update-2013.sh*
check_and_revive_woso_2013.sh*  update-extras.sh*

As explained in the README file, the above entries are used for:

  • backup/: backup information
  • backup.sql: (RD: Why is this here? Shouldn't it be stored in the backup/ folder?)
  • *.sh: scripts (RD: What does each script do? Wouldn't it be better if they were stored in a scripts/ folder?)
  • wouso-content/: Content outside of the actual game such as story and final quest scripts/checkers.
  • wouso-extras/: (RD: The README file says "Theme repo". What does that mean?)
  • wouso-extras1/: (RD: What is the difference between this and the above folder?)
  • var/: various files (RD: What are they useful for? Could they be moved?)
  • fqchecker: symlink to final quest data (RD: Who uses this? Why is this symlink required?)
  • sites/: all sites using the wouso framework:
    • 2010/: World of USO in 2010-2011 (v4)
    • 2011/: World of USO in 2011-2012 (v5)
    • 2012/: World of USO in 2012-2013 (v6)
    • 2013/: World of USO in 2013-2014 (v7)
    • cs4hs/: used for the Computer Science for High School program (CS4HS)
    • next: the live testing instance of world of USO
    • woso/: World of SO in 2012-2013
    • so-2012: (RD: Why does this exist? Isn't it similar to the one above?)
    • default/: HTML entry pages for WoUSO