Project- How to Host an Image Classification App on Heroku

6 / 8

Removing the Virtual Environment

The virtual environment folder Img-Class-Env is heavy as it contains the info related to all the packages we installed in our project. It is difficult to push the folder onto GitHub. Since we have already created requirements.txt file, we no longer need this for deploying on Heroku, because Heroku only relies on requirements.txt for package-installation purposes. So we can proceed to safely remove the folder Img-Class-Env.

INSTRUCTIONS
  • In the console, use the below command to switch to the directory Image-Classification-App:

    cd ~
    cd Image-Classification-App
    
  • Deactivate the virtual environment Img-Class-Env by using the command:

    deactivate
    
  • Remove the virtual environment folder Img-Class-Env inside the Image-Classification-App:

    rm -r Img-Class-Env
    

No hints are availble for this assesment

Answer is not availble for this assesment


Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...