You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yeealex93 edited this page May 22, 2012
·
5 revisions
Getting a database set up
In settings.py, under the second databases configurations (if 1:) enter in a location for the db to live under NAME (we're using sqlite3 for testing)
run sudo python setup.py install in both the django-profiles and django-registration directories. #edit 5/21/12#: running the install.py script will do these commands.
run python manage.py syncdb, entering in the info for a django superuser when prompted
run python manage.py runserver
On the site
go to /login/ and log in with the superuser info
adding projects creates a new project object with a name and a user defined
clicking on the project allows you to add experiments associated with that project
experiments consist of:
facility (NCNR exists right now)
instrument (bt7 and ng3 exist as instruments, and tas and sans as instrument classes)
templates (none really exist, there's an empty template named testTemplate)
files (files that are uploaded are stored in /tmp/FILES)