{"id":17030638,"url":"https://github.com/vsoch/cs106b-builder","last_synced_at":"2025-08-01T07:10:18.005Z","repository":{"id":141667690,"uuid":"156815163","full_name":"vsoch/cs106b-builder","owner":"vsoch","description":"a Singularity container for build and run of QT-creator projects. Does not include any project content.","archived":false,"fork":false,"pushed_at":"2018-11-09T05:39:08.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T00:30:29.072Z","etag":null,"topics":["container","containers","qt-creator","reproducible","singularity"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vsoch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-11-09T05:35:26.000Z","updated_at":"2024-11-18T16:20:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"c90fb929-2561-4158-a853-37301fd85da1","html_url":"https://github.com/vsoch/cs106b-builder","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/vsoch%2Fcs106b-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Fcs106b-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Fcs106b-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Fcs106b-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vsoch","download_url":"https://codeload.github.com/vsoch/cs106b-builder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245018073,"owners_count":20547926,"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":["container","containers","qt-creator","reproducible","singularity"],"created_at":"2024-10-14T08:07:43.973Z","updated_at":"2025-03-22T20:28:16.190Z","avatar_url":"https://github.com/vsoch.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CS106B-Builder\n\nThis is the CS106B-Builder - you can build a container and then use it to compile\nand run a local project directory, without QT-Creator. We are using\na Singularity container instead of Docker so that we can more seamlessly use our\nsystem display.\n\n## 0. Install Singularity\n\nYou should first install Singularity. I recommend the verison 2.6 for a much\nsimpler install routine. Here is the [guide](https://www.sylabs.io/guides/2.6/user-guide/quick_start.html#quick-installation-steps), and instructions:\n\nYou'll need these dependencies\n\n```bash\nsudo apt-get update \u0026\u0026 \\\n    sudo apt-get install \\\n    python \\\n    dh-autoreconf \\\n    build-essential \\\n    libarchive-dev\n```\nand then to install:\n\n```bash\ngit clone https://github.com/sylabs/singularity.git\ncd singularity\ngit fetch --all\ngit checkout 2.6.0\n./autogen.sh\n./configure --prefix=/usr/local\nmake\nsudo make install\n```\n\n## 1. Build the Container\nYou can build this image locally, and note that you must have root permissions\ntodo so. This container could also be built and provided on [Singularity Hub](https://www.singularity-hub.org),\nif appropriate.\n\n```bash\nsudo singularity build cs106b-builder Singularity\n```\n\n## 2. Extract your project\n\nYou will need to extract your project in the present working directory, or the\ndirectory where you want to run your container. Usually this means unzipping\na project file to generate a subfolder. For example:\n\n```bash\nunzip cs106b-Pancakes.zip .\n```\nwould create a folder with the name \"Pancakes' - (or your project name)\n\n## 3. Run the container\nNext, you should run the container and bind the project folder (with the single .pro\nfile) inside. You can choose to build, run, or build and run. Note that if you\nchoose to build and run, it will only run after build given a successful build\n(without errors). Here is how to ask for help, given a container called `cs106b-builder`:\n\n```bash\nsingularity run cs106b-builder --help\n```\n\nTo build the current folder:\n\n```bash\nsingularity run --bind $PWD/Tiles:/code/Project cs106b-builder build\n```\n\nTo then run! \n\n```bash\nsingularity run --bind $PWD/Tiles:/code/Project cs106b-builder run\n```\n\nOr build and run:\n\n```bash\nsingularity run --bind $PWD/Tiles:/code/Project cs106b-builder build run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsoch%2Fcs106b-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvsoch%2Fcs106b-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsoch%2Fcs106b-builder/lists"}