forked from gsingers/search_with_machine_learning_course
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pyenv environments up front in the command so students don't need…
… to do it. (gsingers#5) * test pip install * pip stuff * pip
- Loading branch information
Showing
4 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
output/ | ||
logstash-* | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
ln -s /workspace/kaggle /home/gitpod/.kaggle | ||
|
||
eval "$(pyenv init -)" | ||
eval "$(pyenv virtualenv-init -)" | ||
mkdir -p /workspace/opensearch | ||
mkdir -p /workspace/logstash | ||
mkdir -p /workspace/datasets | ||
sudo chown -R gitpod:gitpod /workspace/opensearch | ||
sudo chown -R gitpod:gitpod /workspace/logstash | ||
ln -s /home/gitpod/logstash-7.13.2 /workspace/logstash/logstash-7.13.2 | ||
pyenv activate search_with_ml_week1 | ||
pip install -r /workspace/search_with_machine_learning_course/requirements_week1.txt | ||
pyenv activate search_with_ml_week2 | ||
pip install -r /workspace/search_with_machine_learning_course/requirements_week2.txt | ||
pyenv activate search_with_ml_week3 | ||
pip install -r /workspace/search_with_machine_learning_course/requirements_week3.txt | ||
pyenv activate search_with_ml_week4 | ||
pip install -r /workspace/search_with_machine_learning_course/requirements_week4.txt | ||
|
||
|
||
cd docker | ||
docker-compose up -d | ||
|