{"id":22296772,"url":"https://github.com/webklex/apache-add-site","last_synced_at":"2025-03-25T22:41:03.281Z","repository":{"id":71427808,"uuid":"51203684","full_name":"Webklex/apache-add-site","owner":"Webklex","description":"This script is designed to setup any local  development website witch one easy command.  It creates if it doesn't exists an apache2 site config file, does the required hosts entry, adds the site to  the apache configuration (a2ensite) and reloads the  whole configuration. So you can get started within seconds.","archived":false,"fork":false,"pushed_at":"2017-01-20T20:42:26.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T19:55:48.133Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Webklex.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":"2016-02-06T13:35:38.000Z","updated_at":"2021-08-31T14:47:55.000Z","dependencies_parsed_at":"2023-02-25T18:31:20.013Z","dependency_job_id":null,"html_url":"https://github.com/Webklex/apache-add-site","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Webklex%2Fapache-add-site","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Webklex%2Fapache-add-site/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Webklex%2Fapache-add-site/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Webklex%2Fapache-add-site/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Webklex","download_url":"https://codeload.github.com/Webklex/apache-add-site/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245556961,"owners_count":20634888,"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-12-03T17:47:34.090Z","updated_at":"2025-03-25T22:41:03.256Z","avatar_url":"https://github.com/Webklex.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UBUNTU/Apache2 SITE MANAGER\n## create locals domains on the fly\n\n```\nAuthor: M.Goldenbaum | Webklex \nWebsite: http://webklex.com \nLicense: MIT\nVersion: 1.0.0 alpha\n\nDescription: This script is designed to setup any local \ndevelopment website witch one easy command. \nIt creates if it doesn't exists an apache2 site config\nfile, does the required hosts entry, adds the site to \nthe apache configuration (a2ensite) and reloads the \nwhole configuration. So you can get started within\nseconds.\n\nExample for creating the local domain example.dev:\nsite-manager -d dev -n example -p /var/www/dev/example -l \n\nGetting Help: \nThere are actually multiple ways to get help if you are \nstuck or have any questions. You can either visit the \nofficial Github site: https://github.com/Webklex/apache-add-site or contact me\nby sending an email to: info@webklex.com\n\nAvailable options:\n\n-h\n    Display the help page. Actually your seeing it right now.\n-d\n    Set the domain which should be used.\n    Default: dev\n-n\n    Set the new domain name. E.g. example if you which to create a domain like example.dev\n    Default: example\n-p\n    Set the domain root folder.\n    Default: /var/www/dev/[YOUR CHOSEN DOMAIN NAME]/public\n-a\n    Set the apache site configuration path\n    Default: /etc/apache2/sites-available\n-f\n    Set the hosts file location\n    Default: /etc/hosts\n-o\n    Set the localhost ip\n    Default: 127.0.0.1\n-l\n    Sometimes you need to disable the lock - if so use -l to force what ever you want\n    Usage: -l\n    \nExample usage:\nsite-manager -d dev -n example -p /var/www/dev/example -l\n```\n\n## Installation \u0026 Setup\n```\nsudo cp site-manager.sh /usr/local/bin/site-manager\n\nor\n\nsudo ln -s site-manager.sh /usr/local/bin/site-manager\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebklex%2Fapache-add-site","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebklex%2Fapache-add-site","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebklex%2Fapache-add-site/lists"}