poooe

1.2.5 • Public • Published

poooe

Makes it easier to create initial structure of a website to a production server. This creates:

  • a bare git repository (with a post-receive hook)
  • a nginx configuration
  • a logs directory
  • a www directory (where the files are checked out)

Install

npm install -g poooe

Usage

poooe [sitename] [--type] [--nginxpath]

You might want to use sudo when not the root user

Parameter Default Description
sitename None
type nodejs nodejs or php
nginxpath /etc/nginx/sites-enabled/

Example

Linux: Linux

Windows: Windows

See lib/templates for the git hook and nginx config template.

Readme

Keywords

none

Package Sidebar

Install

npm i poooe

Weekly Downloads

1

Version

1.2.5

License

MIT

Last publish

Collaborators

  • apathetic