aai-institute / tfl-training-practical-anomaly-detection

Repository of the Tranferlab Practical Anomaly Detection workshop
https://transferlab.ai/trainings/practical-anomaly-detection
Creative Commons Attribution Share Alike 4.0 International
6 stars 0 forks source link

Adding devcontainer #62

Closed turnmanh closed 4 months ago

turnmanh commented 5 months ago

fixes #61

A devcontainer allows for a faster and more smooth development experience. Also, it allows us to provide the training's contents via GitHub codespaces. To do so, the base image has to support all required packages and the data has to be pulled upon creation of the dev environment.

A prebuild speeds up the creation of a codespace by prebuilding the env. on a defined basis. Here, on every push. Alternatives, scheduled, manually etc. Also, the prebuild is made available only in Europe. Outside of Europe, the users might have to wait a couple of minutes until the codespace has spun up.

How to test

Open the repo on the current branch and select to open it in a codespace. The codespace shall

turnmanh commented 4 months ago

@fariedabuzaid, I am having issues to install the cvxopt pkg. in a linux/arm64 image. For now, I'll not provide a solution for different architectures but will keep this for the future. This is fine, as the devcontainer is mainly intended to support codespaces, which it does.

turnmanh commented 4 months ago

To test the feature, feel free to open a Codespace on the branch adding-devcontainer and step through the notebooks.