{ "info": { "author": "Alireza Km", "author_email": "alitm28@gmail.com", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "## Apache Local Domain\nCreate Local Domain for Apache Web Service\n\n#### Description\n Create own Domain on Your Local System\n\n#### Installation\n\n##### Debian Base Distros (Debian,Ubuntu,...)\n python3 -m pip install -U Apache-Local-Domain\n\n##### Other Distros (Arch , Fedora , ...)\n $ git clone https://gitlab.com/toys-projects/Apache-Local-Domain.git\n $ cd Apache-Local-Domain\n $ python3 setup.py --help customize_configs \n ...\n Options for 'CustomizeConfigurations' command:\n --debug-mode (-d) Debug mode [False]\n --apache-modules-path (-m) Apache Modules Path\n [/etc/apache2/mods-enabled/]\n --hosts (-h) Hosts file [/etc/hosts]\n --virtual-hosts-available-path (-a) VirtualHosts available Path\n [/etc/apache2/sites-available/]\n --virtual-hosts-enabled-path (-v) VirtualHosts Enabled Path\n [/etc/apache2/sites-enabled/]\n --extension (-e) VirtualHosts extension [.conf]\n ...\n##### example Customize Configuration\n $ python3 setup.py customize_configs \\\n --debug-mode False \\\n -m /etc/httpd/modules/ \\ \n -a /etc/httpd/vhosts-available/ \\\n -v /etc/httpd/vhosts-enabled/ \\\n -e .dom\n\nafter of Generate New file Configuration Complete , run:\n\n $ sudo python3 setup.py install\n\n#### Usage 1\n $ apacheld --help\n Usage: apacheld [OPTIONS] COMMAND [ARGS]...\n\n Options:\n --help Show this message and exit.\n\n Commands:\n php Initialize PHP Template\n wsgi Initialize WSGI Template\n\n##### Usage 2\n $ apacheld wsgi --help\n Usage: apacheld wsgi [OPTIONS]\n\n Initialize WSGI Template\n\n Options:\n -d, --domain TEXT This Domain is Created (ServerName) ,\n example: example.com [required]\n -r, --root TEXT DocumentRoot of Your website (DocumentRoot)\n , example: /srv/http/MyWebSite/ [required]\n -w, --wsgiscript TEXT WSGIScriptAlias of Your website\n (WSGIScriptAlias) , example:\n /srv/http/MyWebSite/wsgi.py [required]\n -v, --virtualenv-folder-name TEXT\n Virtualenv Folder name in Project PATH\n (default: .venv) [required]\n -e, --email TEXT Your Email (ServerAdmin) , example:\n example@example.com\n --http2 Enable HTTP2 Protocol\n --enable-static Enable using static files\n -s, --static-folder-name TEXT static folder name in Project PATH (default:\n static) [required with enable_static]\n --help Show this message and exit.\n\n##### Usage 3\n $ apacheld php --help \n Usage: apacheld php [OPTIONS]\n\n Initialize PHP Template\n\n Options:\n -d, --domain TEXT This Domain is Created (ServerName) , example:\n example.com [required]\n -r, --root TEXT DocumentRoot of Your website (DocumentRoot) , example:\n /srv/http/MyWebSite/ [required]\n -e, --email TEXT Your Email (ServerAdmin) , example: example@example.com\n --http2 Enable HTTP2 Protocol\n --help Show this message and exit.\n\n#### Note\n * To use This Program You should Run it with `sudo`\n\n#### TODO\n- [x] Check enable http2 module or not\n- [x] add new Validations for inputs (documentroot , wsgiscript , virtualenv ,...)\n- [ ] link Configure file to /etc\n- [ ] Builtin sudo Execute\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/toys-projects/Apache-Local-Domain", "keywords": "", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "Apache-Local-Domain", "package_url": "https://pypi.org/project/Apache-Local-Domain/", "platform": "", "project_url": "https://pypi.org/project/Apache-Local-Domain/", "project_urls": { "Homepage": "https://gitlab.com/toys-projects/Apache-Local-Domain" }, "release_url": "https://pypi.org/project/Apache-Local-Domain/1.1.2/", "requires_dist": [ "click", "decorator", "six", "validators" ], "requires_python": "", "summary": "Create Domain in Localhost on Apache2", "version": "1.1.2" }, "last_serial": 4111882, "releases": { "1.1.2": [ { "comment_text": "", "digests": { "md5": "bfe7696648a326f60859188763d30876", "sha256": "b6c8ae1ffdd2daab832f907832b5fdbbd66e0015f386e31587a4e568aef531a3" }, "downloads": -1, "filename": "Apache_Local_Domain-1.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "bfe7696648a326f60859188763d30876", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17028, "upload_time": "2018-07-28T16:05:39", "url": "https://files.pythonhosted.org/packages/cd/e1/fd3cbda2c60544fe5efe5f5c7bb48bd18bf00c72ab7389849fa0748bd177/Apache_Local_Domain-1.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2e640b6571144c5d4ed809f24e1cd764", "sha256": "99dda4a0fa99618950d226d50a4f68c8de5eb02297ce2af6795432a2dad7eeeb" }, "downloads": -1, "filename": "Apache-Local-Domain-1.1.2.tar.gz", "has_sig": false, "md5_digest": "2e640b6571144c5d4ed809f24e1cd764", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7825, "upload_time": "2018-07-28T16:05:40", "url": "https://files.pythonhosted.org/packages/93/59/1ede2b4a92999805e0d783ed9d57e8861dbbb8d50035a4cd8917d60e1c16/Apache-Local-Domain-1.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bfe7696648a326f60859188763d30876", "sha256": "b6c8ae1ffdd2daab832f907832b5fdbbd66e0015f386e31587a4e568aef531a3" }, "downloads": -1, "filename": "Apache_Local_Domain-1.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "bfe7696648a326f60859188763d30876", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17028, "upload_time": "2018-07-28T16:05:39", "url": "https://files.pythonhosted.org/packages/cd/e1/fd3cbda2c60544fe5efe5f5c7bb48bd18bf00c72ab7389849fa0748bd177/Apache_Local_Domain-1.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2e640b6571144c5d4ed809f24e1cd764", "sha256": "99dda4a0fa99618950d226d50a4f68c8de5eb02297ce2af6795432a2dad7eeeb" }, "downloads": -1, "filename": "Apache-Local-Domain-1.1.2.tar.gz", "has_sig": false, "md5_digest": "2e640b6571144c5d4ed809f24e1cd764", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7825, "upload_time": "2018-07-28T16:05:40", "url": "https://files.pythonhosted.org/packages/93/59/1ede2b4a92999805e0d783ed9d57e8861dbbb8d50035a4cd8917d60e1c16/Apache-Local-Domain-1.1.2.tar.gz" } ] }