{"id":28088990,"url":"https://github.com/miladifiras01/run-project","last_synced_at":"2026-04-10T06:52:00.473Z","repository":{"id":292815416,"uuid":"982020921","full_name":"miladifiras01/run-project","owner":"miladifiras01","description":"A simple Bash script to automate the launch of Laravel, Angular, and FastAPI projects with port conflict handling and environment setup.","archived":false,"fork":false,"pushed_at":"2025-05-12T09:23:05.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-13T13:00:33.128Z","etag":null,"topics":["automation","bash","developer-tools","fastapi","laravel","linux","script","xampp"],"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/miladifiras01.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,"zenodo":null}},"created_at":"2025-05-12T08:58:36.000Z","updated_at":"2025-05-12T10:02:53.000Z","dependencies_parsed_at":"2025-05-12T10:25:41.495Z","dependency_job_id":"7c593850-0563-453f-90ca-14417d4ec96f","html_url":"https://github.com/miladifiras01/run-project","commit_stats":null,"previous_names":["miladifiras01/run-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/miladifiras01/run-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miladifiras01%2Frun-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miladifiras01%2Frun-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miladifiras01%2Frun-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miladifiras01%2Frun-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miladifiras01","download_url":"https://codeload.github.com/miladifiras01/run-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miladifiras01%2Frun-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278386110,"owners_count":25978113,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["automation","bash","developer-tools","fastapi","laravel","linux","script","xampp"],"created_at":"2025-05-13T12:53:01.178Z","updated_at":"2025-10-04T22:58:25.863Z","avatar_url":"https://github.com/miladifiras01.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Run Project Script\n\nThis project is a Bash script that automates the process of launching development environments for three different frameworks:\n\n* Laravel (PHP)\n* Angular (TypeScript)\n* FastAPI (Python)\n\n## Prerequisites\n\nMake sure the following are installed on your system:\n\n* VS Code (`code` command available)\n* XAMPP (for Laravel, located in `/opt/lampp/`)\n* Python 3 and `uvicorn` for FastAPI\n* Angular CLI (`ng`)\n\n## Script Features\n\n* Stops the default Apache server if it's running on port 80\n* Starts XAMPP for Laravel projects\n* Allows you to choose which framework to run (Laravel, Angular, or FastAPI)\n* Opens the project in VS Code and starts a development server in a new terminal\n* Prompts for a port, with a default fallback\n\n## How to Use\n\n1. Open terminal and navigate to the script's directory:\n\n   ```bash\n   cd /path/to/script\n   ```\n\n2. Make the script executable if not already:\n\n   ```bash\n   chmod +x run-project.sh\n   ```\n\n3. Run the script:\n\n   ```bash\n   ./run-project.sh\n   ```\n\n4. Follow the prompts:\n\n   * Enter the project root path\n   * Choose the framework (1 for Laravel, 2 for Angular, 3 for FastAPI)\n   * Enter a custom port or press Enter to use the default\n\n## Example\n\n```bash\nEnter Project Root: /home/user/my-project\n1) Laravel\n2) Angular\n3) FastApi\nChoose Project Language/Framework: 1\nType app port:(default: 8000):\nRunning laravel application...\n```\n\n## Function Descriptions\n\n* `stop_default_apache`: Stops system Apache if running\n* `stop_process_on_port`: Kills any process using a specified port\n* `start_xampp_services`: Starts XAMPP services\n* `open_laravel_project`, `run_angular_app`, `run_fastapi_app`: Opens the project and starts its development server\n\n## Troubleshooting\n\n* Make sure the paths (e.g., to Laravel or Angular CLI) are correct\n* Ensure XAMPP is installed in `/opt/lampp/`\n* Check port availability if the server doesn’t start\n* For FastAPI, ensure `uvicorn` is installed in the virtual environment\n\n## License\n\nThis script is provided \"as is\" with no warranty. Feel free to modify it for your use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiladifiras01%2Frun-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiladifiras01%2Frun-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiladifiras01%2Frun-project/lists"}