This repo was created to store all my productions and notes throughout the Data Science for All course.
ds4a/
└── week1/
│ case_1.1_student/
└── case_20.1_student/
...
It was made to fasten up the environments installation. To use it just organize the cases
per week folder, and run it as: ./setup_envs.sh weekX. Example: ./setup_envs.sh week1.
This will make the script enter each case folder and execute conda env update osx_env.yml.
The open.sh script takes care of doing 3 simple annoying things for you:
- Looks into the
osx_env.ymlfor the correct env name; - Runs
conda activate $CORRECT_ENV_NAME - And finally:
jupyter notebookin the indicated folder.
This one is a little bit more funky. It requires that you once put an alias on your ~/.bashrc or ~/.zshrc as following:
alias jopen=". ./open.sh"
After doing so, don't forget to either re-open your shell or run a simple source ~/.zshrc or source ~/.bashrc.
The opening of a jupyter notebook with its environment boils down to a much simpler way:
$ cd ds4a/
$ jopen week1/case_1.1_studentImportant: to use this alias, make sure that you're inside the ds4a repo. root.