{"id":19251206,"url":"https://github.com/rexops/rex-apache-deploy","last_synced_at":"2025-04-21T12:33:59.616Z","repository":{"id":1347684,"uuid":"1294715","full_name":"RexOps/rex-apache-deploy","owner":"RexOps","description":"Manage Website deployments (for PHP, Perl, Tomcat, ...)","archived":false,"fork":false,"pushed_at":"2016-04-06T13:04:39.000Z","size":155,"stargazers_count":13,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-01T13:22:26.775Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://rexify.org/modules/application_deployment.html","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RexOps.png","metadata":{"files":{"readme":"README.pod","changelog":"ChangeLog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-01-26T09:33:53.000Z","updated_at":"2023-09-25T02:51:36.000Z","dependencies_parsed_at":"2022-08-16T13:10:47.132Z","dependency_job_id":null,"html_url":"https://github.com/RexOps/rex-apache-deploy","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RexOps%2Frex-apache-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RexOps%2Frex-apache-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RexOps%2Frex-apache-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RexOps%2Frex-apache-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RexOps","download_url":"https://codeload.github.com/RexOps/rex-apache-deploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250056363,"owners_count":21367547,"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-11-09T18:21:04.194Z","updated_at":"2025-04-21T12:33:59.297Z","avatar_url":"https://github.com/RexOps.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"=pod\n\nrex-apache-deploy is a (R)?ex module to deploy webservers.\n\nYou can find (R)?ex under http://rexify.org/\n\n=head2 Usage\n\nIn your Rexfile use the following commands.\n\nTo build a package\n\n use Rex::Apache::Build;\n     \n get_version_from \"lib/MyApp.pm\", qr{\\$VERSION=([^;]+);};\n    \n task \"build\", sub {\n    yui compress =\u003e glob(\"public/js/*.js\"), glob(\"public/css/*.css\");\n        \n    # build a package named like the directory\n    # and append the version from get_version_from\n    build;\n          \n    # build a package named myapp\n    # and append the version from get_version_from\n    build \"myapp\";\n         \n    # build a package named myapp and append the version 1.5\n    build \"myapp\",\n       version =\u003e \"1.5\";\n        \n    # build a package myapp, with version 1.5 and exclude some files\n    # but use the path \"./myapp\" as package root\n    build \"myapp\",\n       version =\u003e \"1.5\",\n       path    =\u003e \"myapp\",\n       exclude =\u003e [\"yuicompressor.jar\", \"README\"];\n };\n\nTo inject special configuration parameters for different environments\n\n use Rex::Apache::Inject YAML;\n\n template_file \"inject.conf\";\n template_search_for \"application.yml\";\n\n desc \"Inject Configuration\";\n task \"inject\", sub {\n\n   inject \"myapp-1.0.tar.gz\",\n               pre_pack_hook =\u003e sub {\n                  run \"BUNDLE_PATH=vendor/bundle bundle install\";\n               },\n               post_pack_hool =\u003e sub {\n                  say \"Hello, i'm the post pack hook\\n\";\n               };\n\n };\n \nDeploy the package\n\n deploy_to \"/path/to/deploy/to\";\n document_root \"/var/www/html\";\n\n # set this if your package format isn't\n # packagename-version.file-suffix\n # example: myapp-1.2.tar.gz\n #          myapp-1.3.1.zip\n #          myapp-1.3~1.tar.bz2\n #          myapp-1.5.2_1.tar.bz2\n generate_deploy_directory sub {\n    return $VERSION;\n };\n\n desc \"Deploy Package\";\n task \"deploy\", group =\u003e \"fe\", sub {\n    # just deploy\n    deploy;\n         \n    # or to deploy a specific package\n    deploy \"myapp-1.0.tar.gz\";\n };\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frexops%2Frex-apache-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frexops%2Frex-apache-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frexops%2Frex-apache-deploy/lists"}