1.0.9 • Published 7 years ago

navajo.js v1.0.9

Weekly downloads
11
License
MIT
Repository
github
Last release
7 years ago

Navajo.js

What is Navajo.js

Navajo.js is a Apache2 Vhost generator written in Nodejs. It can be used to generate various .conf files from different templates.

Installation

Navajo required Nodejs 6>. You can install Navajo via npm.

npm i navajo -g

Arguments

-d - Assigns a domain for the vhost

-p - Assigns the path to the vhost root directory

--port - Assigns a port to the new generated vhost

Functions

navajo register - Registers a domain in the hosts file

Usage

navajo -d my-domain.com -p /var/www/my-domain/public --port 80

sudo navajo register

or simply

navajo

to use the inbuilt generator

IMPORTANT NOTE

If you want to run navajo directly in the apache folder or you want to create a vhost folder inside a directory with sudo-restrictions please run the script as sudo.

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago