Say we want to install modules from multiple requirement files. We will put the requirement files in the directory “requirements”.
First the base.txt file.
1 2 |
|
Then the file local.txt
1 2 |
|
and production.txt(production installaions should be close to what is used in other locations, so production.txt commonly just calls base.txt)
1
|
|
The for local and production env, we can issue the following commands:
1
|
|
1
|
|