File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -12,25 +12,27 @@ database versions, including Oracle.
12
12
13
13
Clone this repository somewhere. Also make sure you have docker and docker-compose installed.
14
14
15
- Ensure that the ` DJANGO_PATH ` variable is correct. You can either customize the variable :
15
+ Ensure that the ` DJANGO_PATH ` variable is correct:
16
16
17
17
` export DJANGO_PATH=~/projects/django/ `
18
-
19
- Or create a symbolic link to ` django ` inside this source:
20
-
21
- ` ln -s [path to django] [django docker box path]/django `
22
18
23
- If you see an error like ` ERROR: Named volume "django:/django:rw" is used in service "sqlite" but no declaration was found in the volumes section. `
24
- then your ` DJANGO_PATH ` is incorrect. Make sure it starts with a ` ./ ` or a ` / `
19
+ If you see a docker-compose warning about it not being defined followed by an error ensure that is defined in the shell you are using.
20
+
21
+ You can now either download the latest image used on the CI servers with the dependencies pre-installed:
22
+
23
+ ` docker-compose pull sqlite `
25
24
26
- Afterwards, simply run:
25
+ Or build it yourself:
26
+
27
+ ` docker-compose build sqlite `
28
+
29
+ Then simply run:
27
30
28
31
` docker-compose run --rm sqlite `
29
32
30
33
All arguments are passed to ` runtests.py ` . Before they are run all specific dependencies are
31
34
installed (and cached across runs).
32
35
33
-
34
36
### Different databases
35
37
36
38
Simply substitute ` sqlite ` for any supported database:
You can’t perform that action at this time.
0 commit comments