{"id":26819378,"url":"https://github.com/nuuxcode/airbnb_clone_v2_debugging","last_synced_at":"2025-06-21T23:05:51.712Z","repository":{"id":195387078,"uuid":"692815612","full_name":"nuuxcode/AirBnB_Clone_v2_Debugging","owner":"nuuxcode","description":" Bash scripts that allow you to test and verify various tasks","archived":false,"fork":false,"pushed_at":"2023-09-21T16:52:16.000Z","size":51,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T05:17:40.803Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/nuuxcode.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}},"created_at":"2023-09-17T17:04:09.000Z","updated_at":"2024-03-22T15:27:19.000Z","dependencies_parsed_at":"2023-09-17T18:40:58.154Z","dependency_job_id":null,"html_url":"https://github.com/nuuxcode/AirBnB_Clone_v2_Debugging","commit_stats":null,"previous_names":["nuuxcode/airbnb_clone_v2_test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nuuxcode/AirBnB_Clone_v2_Debugging","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuuxcode%2FAirBnB_Clone_v2_Debugging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuuxcode%2FAirBnB_Clone_v2_Debugging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuuxcode%2FAirBnB_Clone_v2_Debugging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuuxcode%2FAirBnB_Clone_v2_Debugging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuuxcode","download_url":"https://codeload.github.com/nuuxcode/AirBnB_Clone_v2_Debugging/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuuxcode%2FAirBnB_Clone_v2_Debugging/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261206114,"owners_count":23124838,"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":"2025-03-30T05:17:44.643Z","updated_at":"2025-06-21T23:05:46.700Z","avatar_url":"https://github.com/nuuxcode.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AirBnB v2 Debugging with Bash Scripts\n\n\n\nhttps://github.com/nuuxcode/AirBnB_Clone_v2_Debugging/assets/24565896/a4f7643e-51dc-4690-a8a2-6afe669cc863\n\n\n\n## Introduction\n\nDebugging AirBnB projects can become challenging as you progress through related tasks. To make the process easier, we've created a set of Bash scripts that allow you to test and verify various tasks effortlessly. Currently, we have scripts for tasks 6, 7, 8, and 10.\n\n## Usage\n\nTo get started, follow these steps:\n\n1. Clone this repository to your local machine using the following command (outside of AirBnB_Clone_v2):\n```shell\n   git clone https://github.com/nuuxcode/AirBnB_Clone_v2_Debugging.git\n ```\n2. Change your working directory to the cloned repository:\n```shell\ncd AirBnB_Clone_v2_Debugging\n```\n3. Copy all the files inside Scripts folder to the AirBnB directory:\n```shell\ncd Scripts\ncp * /Your/AirBnb/Path\n```\n4. Change your working directory to the AirBnB project\n```shell\ncd /Your/AirBnb/Path\n```\n5. Run the desired script by executing\n```shell\n./c10.sh  (example for task10)\n```\n\nThe config.txt file contains default MySQL configuration.\n```SQL\nHBNB_MYSQL_USER=hbnb_dev\nHBNB_MYSQL_PWD=hbnb_dev_pwd\nHBNB_MYSQL_HOST=localhost\nHBNB_MYSQL_DB=hbnb_dev_db\nHBNB_TYPE_STORAGE=db\nYOUR_MYSQL_SERVER=localhost\nYOUR_USER_MYSQL=root\nYOUR_PASSWORD_MYSQL=root\n```\nEnsure that you copy scripts to the correct directory where the python file console.py exists.\n\n## Task Execution\n\nWhen you execute a script for a specific task, it will execute all commands and provide the results, you have to compare it to the task examples.\n\n## Automation\n\nWhen you run the script for task 8 or 9, it automatically creates a City and a User because creating a Place requires both a User ID and a City ID, and creating a review needs them too.\n\n## Benefits\n\n- **Simplified Testing:** These scripts simplify the process of testing and verifying different tasks, reducing the likelihood of errors.\n- **Efficiency:** By automating the setup and execution of related tasks, you save time and effort.\n- **Consistency:** The scripts ensure that each task is executed consistently, minimizing variations in testing.\n\nWith these Bash scripts, debugging your AirBnB project becomes more efficient and less error-prone. Happy debugging!\n\n## Debugging Videos Playlist for AirBnB v2:\n\n[YouTube Link](https://www.youtube.com/playlist?list=PLQ2qWwUzKtGS7YufaE8xDT3cqGUVW-wGC)\n\n## Authors\n\n- [Mounssif BOUHLAOUI](https://twitter.com/nuux_tv)\n- [Nyangasi Mhozya](https://github.com/Fuzzworth)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuuxcode%2Fairbnb_clone_v2_debugging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuuxcode%2Fairbnb_clone_v2_debugging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuuxcode%2Fairbnb_clone_v2_debugging/lists"}