Skip to content

Commit d3d1595

Browse files
authored
Update README.md
1 parent ad37a7c commit d3d1595

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,27 @@ database versions, including Oracle.
1212

1313
Clone this repository somewhere. Also make sure you have docker and docker-compose installed.
1414

15-
Ensure that the `DJANGO_PATH` variable is correct. You can either customize the variable:
15+
Ensure that the `DJANGO_PATH` variable is correct:
1616

1717
`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`
2218

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`
2524

26-
Afterwards, simply run:
25+
Or build it yourself:
26+
27+
`docker-compose build sqlite`
28+
29+
Then simply run:
2730

2831
`docker-compose run --rm sqlite`
2932

3033
All arguments are passed to `runtests.py`. Before they are run all specific dependencies are
3134
installed (and cached across runs).
3235

33-
3436
### Different databases
3537

3638
Simply substitute `sqlite` for any supported database:

0 commit comments

Comments
 (0)