{"id":27063869,"url":"https://github.com/stephanfward/deployflaskwebongithub","last_synced_at":"2025-07-04T05:04:07.928Z","repository":{"id":208654413,"uuid":"722162767","full_name":"StephanFWard/DeployFlaskWebOnGithub","owner":"StephanFWard","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-22T15:43:28.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-11-22T16:35:58.955Z","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/StephanFWard.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-11-22T15:10:49.000Z","updated_at":"2023-11-22T16:36:00.855Z","dependencies_parsed_at":"2023-11-22T16:48:39.894Z","dependency_job_id":null,"html_url":"https://github.com/StephanFWard/DeployFlaskWebOnGithub","commit_stats":null,"previous_names":["stephanfward/deployflaskwebongithub"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanFWard%2FDeployFlaskWebOnGithub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanFWard%2FDeployFlaskWebOnGithub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanFWard%2FDeployFlaskWebOnGithub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanFWard%2FDeployFlaskWebOnGithub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StephanFWard","download_url":"https://codeload.github.com/StephanFWard/DeployFlaskWebOnGithub/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247368734,"owners_count":20927913,"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-04-05T16:35:20.609Z","updated_at":"2025-04-05T16:35:21.113Z","avatar_url":"https://github.com/StephanFWard.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This README provides step-by-step instructions on how to set up and use the auto-deployment script if Flask web application is hosted on GitHub. It covers prerequisites, installation steps, configuration, and additional notes for customization. Users can follow these instructions to deploy their Flask web application using Jenkins.\n\n# Auto Deployment Script\n\nThis Python script automates the deployment of a Flask web application using Jenkins. It includes setting up a virtual environment, installing dependencies, running tests, and triggering a Jenkins build.\n\n## Prerequisites\n\n- Python 3.x\n- `virtualenv` package (optional but recommended)\n- `requests` library. \n\nClone the web application repository:\n\ngit clone https://github.com/StephanFWard/DeployFlaskWebOnGithub.git\ncd DeployFlaskWebOnGithub\n\nInstall the required packages:\n\n  pip install -r requirements.txt\n\nReplace the placeholders in the deploy_app.py script with your Jenkins server URL and job name.\n\nSet up a virtual environment (optional but recommended):\n\n  python -m venv venv\n  \n  . venv/bin/activate\n  \nInstall dependencies:\n\n  pip install -r requirements.txt\n\nRun tests:\n\n  pytest tests\n\nIf tests pass, deploy the application:\n\n  python deploy_app.py\n\nNotes:\n\nMake sure your Jenkins server is accessible from the machine where you run this script.\nEnsure that Jenkins job is properly configured for auto deployment.\nYou can customize the test command and deployment process based on your application's needs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephanfward%2Fdeployflaskwebongithub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephanfward%2Fdeployflaskwebongithub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephanfward%2Fdeployflaskwebongithub/lists"}