root/ossiedev/branches/jsnyder/trunk/tools/cornetApps/README @ 11093

Revision 11093, 2.8 KB (checked in by edent, 14 months ago)

move divs around and connect to webServer from local development

RevLine 
[11093]1TODO: installation and setup and howto develop instructions for someone whos never used itinstallation paragraph for local server
[11092]2explain ./manage
3define what functionality is in which files
4
5add refresh status of nodes
6remove passwords from url -> put in SESSION variable
7choose which node to start domain manager on
8pick the nodeBooter from dev/nodes/
[11093]9load connect to node in console view
[11067]10#############
11Django setup
12#############
13There are 4 main applications in the project:  LoginUser, WebDash, HtmlPages, and DomainMan
14LoginUser:  handles logging in the user, redirecting pages, and user directory/accounts/waveforms
15WebDash:  controls the waveforms
16HtmlPages:  the main pages for the interface
17DomainMan:  Connecting to nodes and starting nodeBooter/naming service
18
19########
20Settings
21########
22Once the project is checked out from the repository, there is no need to change between the settings for the webserver and working directory
23This is handled in the apache/django.wsgi file: the webserver looks at settingsWeb.py
24and the working directory uses the default settings.py when using the development server (python manage.py runserver)
25
26############
27Static files
28############
29After changing the css or javascript files, you must run (python manage.py collectstatic) to update the main /static folder.
30Make sure that the directorys where the original file is located is also listed in the STATICFILES_DIRS of the settings file.
31
32Ossie interface layout
33======================
34Four main frames are separated into four div tags: the directory, the main frame, the workspace, and the active applications.
35#Directory: lists the waveforms of the loaded node,
36#Main frame: contains the status of the nodes in a grid or map form
37#Apps: Lists the waveforms that are running
38#Workspace: contains the information about the current waveform
39
40#########
41LoginUser
42#########
43The login runs on SQLite database file found in the main directory saved as cornetApps.db
44This is separate from the CORNET user database.
45It runs through the given Django login module (django.contrib.auth.views.login). 
46
47#########
48DomainMan
49#########
50Connects to the ip's of the nodes:  192.168.1.xx.
51.xx starts at 11 on floor 1 and increments by 1.  Each floor has 12 nodes:
52Floor 1: .11 - .22
53Floor 2: .23 - .34
54Floor 3: .35 - .46
55Floor 4: .47 - .58
56
57When connecting through the server, see http://cornet.wireless.vt.edu/trac/wiki/CORNET/HowToUseCORNET
58
59##################
60Using the interface
61###################
62
63When clicking on the node in the interface, it calls the loadNode(ip) javascript method,
64which in turn loads the waveform through WebDash into the #directory div/frame.
65
66In the directory column/frame, the home icon brings the user to the account page where you can view the user's available waveforms.
67the eject icon logs the user out of the interface.
Note: See TracBrowser for help on using the browser.