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
@@ -80,11 +79,11 @@ Mounting happens by adding the path to your cloned a-plus directory to the `volu
80
79
If you wish to use features which require write access, e.g. update translations, change the `/srv/` to `/src/`.
81
80
Using `/srv/` will allow the Django process to reload the code without stopping the container, but features which require the write access are not possible.
82
81
83
-
4. Download and build all required support files by running the Drone pipeline, i.e., execute the following in the a-plus project root:
82
+
4. Download and build all required support files by running the following script in the a-plus project root:
84
83
85
84
```sh
86
85
$ cd [A-PLUS PROJECT ROOT]
87
-
$ drone exec
86
+
$ ./compile_sass.sh
88
87
```
89
88
90
89
5. Run the code within the container:
@@ -106,10 +105,10 @@ Using `/srv/` will allow the Django process to reload the code without stopping
106
105
107
106
```sh
108
107
$ cd [A-PLUS PROJECT ROOT]
109
-
$ drone exec
108
+
$ ./compile_sass.sh
110
109
```
111
110
112
-
After the `drone exec` command finishes its execution, you can start monitoring the changes of the sass compiler by executing the following command.
111
+
After the `compile_sass.sh` script finishes its execution, you can start monitoring the changes of the sass compiler by executing the following command.
113
112
114
113
```sh
115
114
$ cd [A-PLUS PROJECT ROOT]
@@ -122,7 +121,7 @@ Note that if you have mounted the code to `/src/`, you need to restart the serve
122
121
3. After completing the changes and before committing them, run:
123
122
124
123
```sh
125
-
$ drone exec
124
+
$ ./compile_sass.sh
126
125
```
127
126
128
127
4. Include the built production versions of JavaScript and CSS files (e.g. `css/main.css` and `css/main.css.map`) into the git commit with your changes.
@@ -300,7 +299,7 @@ exceptions to this rule:
300
299
(e.g. `Submission.exercise`), uses the related model's **base manager**
301
300
(which is usually Django's `Manager` class) instead of its
302
301
**default manager** (which is accessed via `objects`).
303
-
302
+
304
303
To work around this limitation, there are two custom relationship field
305
304
classes, `DefaultOneToOneField` and `DefaultForeignKey`, which use the
306
305
default manager, and thus ensure that the related object is always returned
0 commit comments