April 2018
Beginner to intermediate
300 pages
7h 34m
English
The requirements.txt file in the crypto_stats folder defines the Python package dependencies of our Django project. To install these dependencies, please issue the following docker run command.
The -p 8000:8000 parameter exposes port 8000 from the guest to the host machine. The -it parameter creates a pseudo-terminal with stdin support to allow an interactive terminal session.
We are again using the django image, but this time we launch a Bash Terminal shell instead:
docker run -v "$(pwd)":/app -p 8000:8000 -it django bashcd crypto_statspip install -r requirements.txt
The chain of commands ...
Read now
Unlock full access