TODO: installation and setup and howto develop instructions for someone whos never used it explain ./manage define what functionality is in which files add refresh status of nodes remove passwords from url -> put in SESSION variable add ip and which node is running choose which node to start domain manager on pick the nodeBooter from dev/nodes/ installation paragraph for local server ############# Django setup ############# There are 4 main applications in the project: LoginUser, WebDash, HtmlPages, and DomainMan LoginUser: handles logging in the user, redirecting pages, and user directory/accounts/waveforms WebDash: controls the waveforms HtmlPages: the main pages for the interface DomainMan: Connecting to nodes and starting nodeBooter/naming service ######## Settings ######## Once the project is checked out from the repository, there is no need to change between the settings for the webserver and working directory This is handled in the apache/django.wsgi file: the webserver looks at settingsWeb.py and the working directory uses the default settings.py when using the development server (python manage.py runserver) ############ Static files ############ After changing the css or javascript files, you must run (python manage.py collectstatic) to update the main /static folder. Make sure that the directorys where the original file is located is also listed in the STATICFILES_DIRS of the settings file. Ossie interface layout ====================== Four main frames are separated into four div tags: the directory, the main frame, the workspace, and the active applications. #Directory: lists the waveforms of the loaded node, #Main frame: contains the status of the nodes in a grid or map form #Apps: Lists the waveforms that are running #Workspace: contains the information about the current waveform ######### LoginUser ######### The login runs on SQLite database file found in the main directory saved as cornetApps.db This is separate from the CORNET user database. It runs through the given Django login module (django.contrib.auth.views.login). ######### DomainMan ######### Connects to the ip's of the nodes: 192.168.1.xx. .xx starts at 11 on floor 1 and increments by 1. Each floor has 12 nodes: Floor 1: .11 - .22 Floor 2: .23 - .34 Floor 3: .35 - .46 Floor 4: .47 - .58 When connecting through the server, see http://cornet.wireless.vt.edu/trac/wiki/CORNET/HowToUseCORNET ################## Using the interface ################### When clicking on the node in the interface, it calls the loadNode(ip) javascript method, which in turn loads the waveform through WebDash into the #directory div/frame. In the directory column/frame, the home icon brings the user to the account page where you can view the user's available waveforms. the eject icon logs the user out of the interface.