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
This will generate a random password for the database users. You will still have to edit the config file(s) generated, but you will have to do so after Submitty has been installed.
41
43
42
-
or clone the git repository and run the installer (requires git and lsb-release to be installed):
44
+
### Option 2: Clone the git repository and run the scripts manually (requires git and lsb-release to be installed):
45
+
46
+
Note: During installation, if you have pre-configured JSON config files, put them in `/usr/local/submitty/config/`. Otherwise, generate default configs that you can edit, and will be found in the same path.
"submission_url": "http://localhost:1511", // URL where students will submit homework
65
+
"vcs_url": "", // If using VCS, the URL where students students push to
66
+
"cgi_url": "http://localhost:1511/cgi-bin", // Should be the <submission_url>/cgi-bin
67
+
"websocket_port": 8443, // Only change if required
68
+
"institution_name": "", // Name of your institution (e.x. Rensselaer Polytechnic Institute)
69
+
"institution_homepage": "", // The homepage of your institution (e.x. rpi.edu)
70
+
"timezone": "America/New_York", // Your time zone TZ identifier
71
+
"default_locale": "en_US",
72
+
"duck_special_effects": false, // Allow special effects
73
+
"course_material_file_upload_limit_mb": "100",
74
+
// Allow users to create their own accounts (Only works with DatabaseAuthentication), see documentation for how to use
75
+
"user_create_account": false,
76
+
"user_id_requirements": {
77
+
"any_user_id": true,
78
+
"require_name": false,
79
+
"min_length": 6,
80
+
"max_length": 25,
81
+
"name_requirements": {
82
+
"given_first": false,
83
+
"given_name": 2,
84
+
"family_name": 4
85
+
},
86
+
"require_email": false,
87
+
"email_requirements": {
88
+
"whole_email": false,
89
+
"whole_prefix": false,
90
+
"prefix_count": 6
91
+
},
92
+
"accepted_emails": [
93
+
"gmail.com"
94
+
]
95
+
},
96
+
"worker": false// Is Submitty being run as a worker
97
+
}
98
+
```
99
+
For switching authentication methods, edit
100
+
`<submitty_install_dir>/config/authentication.json` and change the
101
+
authentication method to any of the methods. You should be able
102
+
to leave all other settings to the default.
50
103
51
-
Note: During installation, if you have pre-configured JSON config files, put them in `/usr/local/submitty/config/`. Otherwise, the install will generate default configs that you can edit, and will be found in the same path.
52
104
105
+
After you have edited the config files, run the install script.
106
+
```
107
+
bash ./.setup/install_system.sh
108
+
```
53
109
54
110
1. Run installations specific to your university.
55
111
For example: [RPI Computer Science specific installations](https://github.com/Submitty/Submitty/blob/master/.setup/distro_setup/ubuntu/rpi.sh)
@@ -58,57 +114,6 @@ You can use these [instructions](/sysadmin/installation/ansible).
0 commit comments