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
Copy file name to clipboardexpand all lines: INSTRUCTIONS.md
+26-88
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,13 @@ been freshly installed and be mostly unmodified. The standard Ubuntu image from
6
6
etc...) will work perfectly.
7
7
8
8
If you are comfortable with the technology involved in building Glance and don't want to
9
-
use the "default" configuration for some reason then of course you can just build it yourself. To that end we also
10
-
provide a list of software prerequisites and a brief description of the build structure. Most people should try and use
9
+
use the "default" configuration for some reason then of course you can just build it yourself. Most people should try and use
11
10
Ubuntu 16 however, as this has been well tested and we provide a number of helpful scripts for installations with that OS.
12
11
13
12
The guide does assume very basic familiarity with the use of a bash shell on Ubuntu, though all commands to be executed
14
13
are listed verbatim and explained.
15
14
16
-
### Installing Glance on Ubuntu 16 (the first path)
15
+
### Installing Glance on Ubuntu 16
17
16
18
17
1. Check that the packages already installed on your server are up to date:
19
18
```bash
@@ -193,9 +192,11 @@ Glance's database: This can be done with the following command:
193
192
an optional integer to use as a seed when randomly (uniformly) selecting student records to include in a survey.
194
193
```
195
194
196
-
The first 3 options are compulsory, whilst the remaining 4 are optional depending on the surveys you wish to generate.
197
-
When run, the above command will create surveys in the Glance database and return links where they may be
198
-
accessed and conducted by instructors.
195
+
The first 3 options are compulsory, whilst the remaining 4 are optional depending on the
196
+
surveys you wish to generate. When run, the above command will create surveys in the Glance
197
+
database and return their ids (long strings of number and letters like:
198
+
`6d7ca6f2-7970-4f24-881b-4f84c0386c63`). These may be used to access surveys in a web browser,
199
+
as detailed in the next step.
199
200
200
201
**Note**: Such a large number of options are included in the `glance-cli` tools in order to support configurability,
201
202
however they also create edge cases where combinations of commands or options may fail to behave as they should.
@@ -205,14 +206,27 @@ Glance's database: This can be done with the following command:
205
206
206
207
Effort has been made to make the error reporting of the `glance-cli` tools fairly comprehensive. If you encounter such
207
208
an error, please adjust your combination of command line options accordingly. If you encounter no error, but Glance
208
-
still isn't generating surveys as you believe it should, please submit an [issue]().
209
+
still isn't generating surveys as you believe it should, please submit an [issue](https://github.com/NewcastleComputingScience/student-outcome-accelerator/issues/new).
209
210
210
211
**Note**: The optional `random-seed` option is used if you wish to ensure that `glance-cli` generates the exact same
211
212
surveys as on a previous execution (selects the same students etc...). Most of the time it can be safely ignored.
212
213
213
-
5. Check the surveys are working.
214
+
5. Check the surveys are working in your browser of choice. You can access them at
215
+
_http://server.address/index.html#survey/{id}_ where _{id}_ is the long string of characters
216
+
produced by the _generate_ command. If you would like to check that a collection of surveys is
217
+
working the url to use is similar: _http://server.address/index.html#collection/{id}_ where _{id}_
218
+
corresponds to one of the long strings listed as a collection in the output of _generate_.
219
+
220
+
**Note**: _server.address_ corresponds to the ip address or domain name associated with the
221
+
server on which you are setting up Glance. If you are trying to test the surveys from the same
222
+
machine you should instead use _http://localhost/index..._.
223
+
224
+
6. Share individual surveys or collections with instructors using the links from the previous step.
225
+
Once they have completed some (a simple process which is briefly explained [here](README.md)), you
226
+
will wish to download their results. One way of doing this is simply to take a backup of the
227
+
Glance database, which we explain later. Another way is to run the following command:
228
+
214
229
215
-
6. Download some results.
216
230
217
231
### Performing miscellaneous tasks
218
232
@@ -230,86 +244,10 @@ Glance's database: This can be done with the following command:
230
244
231
245
### Support and issues
232
246
233
-
If you have any issues with any of the steps in this Guide, please submit an issue here according to the following template:
234
-
235
-
### Other information
236
-
237
-
If you have followed the above guides successfully you may safely ignore this section.
238
-
239
-
##### Software prerequisites for Glance
240
-
241
-
242
-
##### Glance build description
243
-
244
-
245
-
1. Create Postgres database with correct details using the following two commands:
246
-
```
247
-
psql -c 'create user postgres createdb'
248
-
psql -c 'create database glance_eval' -U postgres
249
-
```
250
-
251
-
2. Download and extract datafiles from provided NCL Dropoff link.
252
-
253
-
3. Start the `sbt` console in the `soar` directory by executing the `sbt` command.
254
-
255
-
4. Once the sbt console has started, generate the database schema using the following command:
256
-
```
257
-
glance-evalJVM/flywayMigrate
258
-
```
259
-
260
-
5. Unfortunately the prepackaged versions of the cli tools are failing silently at the moment. I'm figuring out why as
261
-
we speak, but in the mean time run the `transform` job (which prepares sql12 data for insertion into the glance
This will produce a traditional unix style help dialogue:
85
-
86
-
> Soar Evaluation Survey generator 0.1.x
87
-
>
88
-
>Usage: SoarEvalGen [options]
89
-
>
90
-
> -i, --input <file> input is a required .csv file containing student/module scores. Format "StudentNumber, Module Code, Percentage"
91
-
>
92
-
> -o, --output <directory> output is a required parameter specifying the directory to write the surveys to.
93
-
>
94
-
> -e, --elided e.g. 20 elided is an optional parameter specifying how many student records to partially elide in the generated surveys.
95
-
>
96
-
> -m, --modules e.g. CSC1021, CSC2024... modules is the list of modules for which to elide a students records. Only one module record will be elided per student. One survey is generated per elided module code.
97
-
>
98
-
> -c, --common e.g. CSC2024 common is an optional parameter specifying an additional module to elide student records for in *all* generated surveys.
99
-
>
100
-
> -s, --seed <int> seed is an optional parameter specifying a number to use as a seed when randomly selecting student records to elide.
101
-
102
-
Once you have executed the job, you will see that within the specified output directory, a folder has been created for
103
-
each of the modules specified (except the module specified as common to all surveys, if any). Inside each of these
104
-
folders is a file called `survey.csv` which may be directly opened with a spreadsheet program.
105
-
106
-
Those student/module scores which we would like module leaders to predict have been been given the place holder
107
-
value _-1.0_ for clarity. All scores following such a negative placeholder score have been elided.
108
-
109
-
Please keep track of which survey file belongs to which module code, as it may be harder to tell once they have been
0 commit comments