Skip to content
Node.js/PHP Init Script
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
.gitignore
README.md
package.json

README.md

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)

NOTE: This is a silly project.

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 Either nodejs or php
nginxpath /etc/nginx/sites-enabled/

Examples

Linux:

Linux

Windows:

Windows

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

Something went wrong with that request. Please try again.