Skip to content

Comments

Fix the Gitpod setup and make it simpler#1

Open
sb2nov wants to merge 2 commits intomattharrison:mainfrom
sb2nov:main
Open

Fix the Gitpod setup and make it simpler#1
sb2nov wants to merge 2 commits intomattharrison:mainfrom
sb2nov:main

Conversation

@sb2nov
Copy link
Collaborator

@sb2nov sb2nov commented Oct 15, 2022

No description provided.

@sb2nov sb2nov requested a review from mattharrison October 15, 2022 16:15
Copy link
Owner

@mattharrison mattharrison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer to keep virtual environments

RUN . $VENV/bin/activate && pip install -r requirements.txt

CMD . $VENV/bin/activate No newline at end of file
RUN pip3 install -U pip
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer to use virtual environments if we are doing "professional" Python.

Copy link
Collaborator Author

@sb2nov sb2nov Oct 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mattharrison should it be activated at the vm start automatically or the student should do it?

If the student does it then we can also just skip installing anything in the container altogether. Otherwise I'll bake the virtualenv at /venv or something inside.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants