~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to doc/setup/install_proc.txt

  • Committer: mattgiuca
  • Date: 2008-07-15 09:18:02 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:877
pulldown_subj/__init__.py: Added "enrol_user" function which pulls down a user
    and also enrols them in the database.
Added script enrolallusers.py which scriptulously performs automatic
enrolments of all users in the system, similar to remakeallusers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
# (only need the first line if it was previously created and is now changed)
49
49
sudo -u postgres dropdb ivle
50
50
sudo -u postgres createdb ivle
51
 
sudo -u postgres createlang plpgsql ivle
52
51
sudo -u postgres psql -d ivle < userdb/users.sql
53
52
 
54
53
# Set up IVLE
68
67
sudo mkdir /opt/ivle/svn
69
68
sudo chown -R www-data:www-data /opt/ivle/svn
70
69
 
71
 
# Make the "repositories", "sessions" and "logs" directories in the home.
 
70
# Make the "repositories" and "sessions" directories in the home.
72
71
# Make sure they are owned by www-data.
73
72
cd /home/informatics
74
 
sudo mkdir -p repositories/users repositories/groups sessions logs
75
 
sudo chown -R www-data:www-data repositories sessions logs
 
73
sudo mkdir repositories sessions
 
74
sudo chown -R www-data:www-data repositories sessions
76
75
 
77
76
cd /home/informatics/ivle_svn
78
77
 
111
110
##########################################################################
112
111
# To start the user management server:
113
112
cd /opt/ivle/scripts
114
 
sudo ./usrmgt-server
 
113
sudo ./usrmgt-server <port> <usrmgt-password>
115
114
# usrmgt-password is the password entered in setup.py config (usrmgt_magic)
116
115
# Note that the port number and usrmgt password are recorded in
117
116
# the automatically created init.d script: doc/setup/usrmgt-server.init