Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Set up the SQL database using the Django project.

Change the following lines in urls.py:

Code Block
cd /opt/norduni/src/niweb/
Code Block

# Django Generic Login
(r'^accounts/login/$', 'django.contrib.auth.views.login'),

# Federated login
#(r'^accounts/', include('niweb.apps.fedlogin.urls')),
Code Block

python manage.py syncdb
python manage.py runserver 0.0.0.0:80

Now you should be able surf to your machines ip and see the NOCLook app started.

It is time to collect and insert some data.

Deploying NOCLook

Comment out the static media url in /opt/norduni/src/niweb/urls.py.

...