Skip to content
Snippets Groups Projects
Commit 119d8273 authored by Mike Lake's avatar Mike Lake
Browse files

Minor changes

parent ddd47d01
Branches
No related merge requests found
...@@ -42,11 +42,10 @@ Running with the `-u` option will limit results to a specific user. ...@@ -42,11 +42,10 @@ Running with the `-u` option will limit results to a specific user.
## Files ## Files
check_utilisation.py The main pbsweb application. check_utilisation.py The main pbsweb application.
pbs/pbsutils.py Module containing utility functions for the pbsweb application.
pbs/pbsutils.py Module containing utility functions for the pbsweb application. pbs/swig_compile_pbs.sh Run this to create _pbs.so
pbs/swig_compile_pbs.sh Run this to create _pbs.so pbs/pbs.i Used by swig_compile_pbs.sh
pbs/pbs.i Used by swig_compile_pbs.sh
## Software Required ## Software Required
...@@ -62,7 +61,7 @@ Running with the `-u` option will limit results to a specific user. ...@@ -62,7 +61,7 @@ Running with the `-u` option will limit results to a specific user.
The `pbs_ifl.h` is not included in this code as you should use the version that The `pbs_ifl.h` is not included in this code as you should use the version that
came with your PBS installation. came with your PBS installation.
Once you have found this file copy it to the location on the login Once you have found this file copy it to the location on the login
node where you will later run `swig_compile_pbs.sh` from. node where you will later run `swig_compile_pbs.sh` from i.e. the `pbs` directory.
The openssl-devel package provides the libs to link with in the swig compile script The openssl-devel package provides the libs to link with in the swig compile script
i.e. "`.. -lcrypto -lssl`". i.e. "`.. -lcrypto -lssl`".
...@@ -111,8 +110,8 @@ Now you should be able to run the utilisation script: ...@@ -111,8 +110,8 @@ Now you should be able to run the utilisation script:
## The User Database ## The User Database
In the Python code the `users_db_name` is a small sqlite database that just contains user information. In the Python code the `users_db_name` is a small sqlite database that just contains user information
This is not included with this repo. The schema is: for our site at UTS. This is not included with this repo. The schema is:
$ echo '.schema' | sqlite3 users_ldap_public.db $ echo '.schema' | sqlite3 users_ldap_public.db
CREATE TABLE IF NOT EXISTS "users" ( 'id' INTEGER NOT NULL, 'uts_id' TEXT NOT NULL, 'uts_email' TEXT, 'name' TEXT, PRIMARY KEY('id')); CREATE TABLE IF NOT EXISTS "users" ( 'id' INTEGER NOT NULL, 'uts_id' TEXT NOT NULL, 'uts_email' TEXT, 'name' TEXT, PRIMARY KEY('id'));
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment