{"id":16388675,"url":"https://github.com/phact/datastax-workshop","last_synced_at":"2026-06-07T20:30:14.800Z","repository":{"id":71205762,"uuid":"59167496","full_name":"phact/datastax-workshop","owner":"phact","description":null,"archived":false,"fork":false,"pushed_at":"2016-06-17T13:37:08.000Z","size":13370,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-03T10:24:09.596Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phact.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-19T02:33:03.000Z","updated_at":"2017-12-07T01:51:26.000Z","dependencies_parsed_at":"2023-03-07T16:30:32.451Z","dependency_job_id":null,"html_url":"https://github.com/phact/datastax-workshop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phact%2Fdatastax-workshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phact%2Fdatastax-workshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phact%2Fdatastax-workshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phact%2Fdatastax-workshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phact","download_url":"https://codeload.github.com/phact/datastax-workshop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240199172,"owners_count":19763820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T04:29:38.624Z","updated_at":"2026-06-07T20:30:14.741Z","avatar_url":"https://github.com/phact.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# datastax-workshop\n\nThe workshop is a dockerized notebook that includes the data load and setup + the exercises hosted on port 7001.\n\n##Docker\n\ninstall docker https://docs.docker.com/engine/installation/linux\n\nadd your user to the docker group \n\n    sudo gpasswd -a ${USER} docker\n\nand refresh:\n\n    newgrp docker\n\nSet up config.txt with your broadcast rpc address (client address for DSE)\n\n    cat /etc/dse/cassandra/cassandra.yaml | grep broadcast_rpc_address:|awk -F' ' '{print $2}' \u003e config.txt\n\n\nFor OSX\n```\ndocker-machine start default\neval $(docker-machine env default)\n#a bit of cleanup\ndocker rm -f $(docker ps -aq)\ndocker rmi -f $(docker images -aq)\n```\n\nFor linux\n\n\n```\nservice docker start\n```\n\n\n```\ndocker build -t cql-notebook-image .\ndocker run --net=host -d -p 0.0.0.0:7001:7001 --name cql-notebook cql-notebook-image\n```\n\nOne liner to remove answers from Notebooks:\n\n```\ncat Lab\\ 1\\ Workbook.ipynb |  jq '{\"cells\":[  .cells[] | select(.cell_type==\"raw\" // .cell_type==\"code\" | not) ]} + del (.\"cells\")' \u003e Lab\\ 1\\ Workbook\\ Student.ipynb\n```\n\nOr just run `./generate_student_workbooks.sh`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphact%2Fdatastax-workshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphact%2Fdatastax-workshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphact%2Fdatastax-workshop/lists"}