Vhost Manager v1.0

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@therealsmat·
0.000 HBD
Vhost Manager v1.0
### Vhost Manager: Command Line tool

Recently i had to start a new web project, and like most people, i like the luxury of having to access my app on the browser with a domain name as such `http://mysite.local`. So i created a virtual host on my machine. I found that it took about 20 minutes of my time. What if we had a tool that could reduce the time to less than a minute, so we can just focus on building our apps and not worry too much about configurations? That's what this project addresses. 

Vhost-manager is a command line tool that allows you create virtual hosts in seconds.

### Installation

Download the project with composer

`composer global require therealsmat/vhost-manager`

### Requirements
- PHP must be installed on your machine
- This package is only for ubuntu users

### Usage

This package has two major commands. 

- To list all sites on your machine, run `./vhost sites`
- To create a new site, run `./vhost new:site`. You will be prompted to provide

1. Site name (preferred domain name)
2. Site's public directory.(Check the github read me for more information)

By default, vhost manager uses Port `80`. It also used the current directory as the projects domain directory


### Technology Stack

This package was built in php using the popular `symfony/console` .

### Roadmap
In a very near future,
- Other directories can be used instead of the current working directory.
- Ports can be changed.
- Other operating system will be taken into consideration


### How to contribute?
- Clone the repository
- Create a new branch
- Send a Pull Request with the new features.

You can send me a mail me@tosinsoremekun.com


    

<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@therealsmat/vhost-manager-v1-0">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
👍 , , , , , , , , , , , , ,