Oluwatosin Soremekun avatar

Vhost Manager v1.0

therealsmat

Published: 21 Feb 2018 › Updated: 21 Feb 2018Vhost Manager v1.0

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



Posted on Utopian.io - Rewarding Open Source Contributors

Leave Vhost Manager v1.0 to:

Written by

Software Developer. Little guy, but that's not all i'm going to be

Read more #utopian-io posts


Best Posts From Oluwatosin Soremekun

We have not curated any of therealsmat's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Oluwatosin Soremekun