How to activate the environment#
As a quick reminder, here are the commands you'll need when opening a fresh terminal (and make sure Docker is already running):
1
$ cd serverless-dz-course
2
$ ./zappashell.sh
3
zappashell> source ve/bin/activate
4
(ve) zappashell>
Or if you are on Windows:
1
PS C:\Users\Roman\Documents> cd serverless-dz-course
2
PS C:\Users\Roman\Documents\serverless-dz-course> zappashell.bat
3
zappashell> source ve/bin/activate
4
(ve) zappashell>
We are assuming the first
cd
is changing the directory to wherever you set up your project.The
./zappashell.sh
orzappashell.bat
fires up a Docker container based on the Docker image you created using theDockerfile
The
source ve/bin/activate
activates the Python Virtual Environment within the Docker container.And then you'll be ready to start working when you see the prompt:
(ve) zappashell>
Now we can move on to the next module.