Closed jbednar closed 3 years ago
Closing as that's all that will be done! Docker images are available in S3, and the instructions for them are below.
This directory contains Docker images that can be used to reproduce the 1/2021 AT&T VAULT technical scenario solution and associated analysis files.
To run the VAULT notebooks on a local or cloud machine with Docker installed:
/vault-data
on the host where Docker is running.vault-notebooks.tar.gz
image from this directory.docker load -i vault-notebooks.tar.gz
docker run --mount type=bind,source=/vault-data,target=/data -p 8087:8086 vault-notebooks
localhost:8087
in a web browser. For security, you'll need to paste in the token that is printed to stdout in step 4.The above steps are sufficient for running the code as submitted for this challenge, dated 7 January and tagged 0.9.0 in github.
Following the demo on 11 January, the setup for the deployed dashboard versions of this code (available already running via bit.ly/attvault) has also been captured, in case the dashboards need to be re-deployed. To run the VAULT dashboards:
/vault-data
on the host where Docker is running.vault-dashboards.tar.gz
image from this directory.docker load -i vault-dashboards.tar.gz
docker run --mount type=bind,source=/vault-data,target=/data -p 8088:8086 vault-dashboards
localhost:8088
in a web browserIn case you need to re-create these images from the github source, the steps are:
$ cd /tmp
$ git clone git@github.com:Anaconda-Platform/s2i-anaconda-project.git
$ cd s2i-anaconda-project/
$ make
$ cd ~
$ git clone git@github.com:att-vault/vault.git
$ cd vault
$ s2i build . anaconda-project-ubi7 vault-notebooks -e CMD=Viewing_AIS
$ docker run --mount type=bind,source=/vault-data,target=/data -p 8087:8086 vault-notebooks
$ docker save vault-notebooks > ../vault-notebooks.tar.gz
$ git checkout dev
$ s2i build . anaconda-project-ubi7 vault-dashboards -e CMD=dashboards
$ docker run --mount type=bind,source=/vault-data,target=/data -p 8088:8086 vault-dashboards
$ docker save vault-dashboards > ../vault-dashboards.tar.gz
Draft plan for reorganizing this repository for delivery, to be updated as we go along:
[x] Jean-Luc/Jim: Add instructions for reproducing notebooks, to the README
[x] Jean-Luc/Jim: Add link to deployment in the Deliverables section of the README
Improve underlying code (where feasible in time available)
[x] Categorize, document, and promote three types of notebooks/scripts/apps:
Rationalize (clean up and standardize) how files are accessed in the nbs:
Clean up how notebooks refer to external Python code. Usually this is handled by making a module, but most code here is either in notebooks and not shared with other notebooks, or in independent scripts, and making a module complicates the installation process for private code (can't just put it up on a conda repo), so the plan is:
Make apps deployable and shareable (reasonable startup times, able to handle multiple users)
[x] JimB: Remove unused notebooks (still will be in git history)
Deploy apps
[x] Specify environment
Documentation
Deliverables