https://github.com/felipebool/vhost
https://github.com/felipebool/vhost
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/felipebool/vhost
- Owner: felipebool
- License: mit
- Created: 2018-04-08T02:30:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T23:43:45.000Z (over 3 years ago)
- Last Synced: 2025-11-28T13:30:37.630Z (7 months ago)
- Language: Python
- Size: 53.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vhost
Simple tool to help developers start new projects and setup apache virtual hosts
## Getting started
There is an extra step to install **vhost**, you must log in as root before
install.
### Prerequisites
Python version greater than 3
### Installing
```
$ su -
$ pip3 install vhost
$ exit
```
Now you can use **vhost** with ```sudo```
### Usage
Currently, ```vhost``` only supports **Apache** and was tested using
**Debian**. Support for **Nginx** and other features are going to be
added in next releases.
#### Add a new virtual host
```
$ sudo vhost -n your_hostname.localhost -u your_user
```
where your_hostname and your_user are up to you.
#### Finding help
```
$ vhost --help
```
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details