This is my personal Yeoman. A simple jumpstart for my projects
TODO LIST: https://github.com/vitorbritto/boilerplates/issues/
STEP 01: Requirements and Installation
First of all, make sure you have Node.js installed.
# 1. Clone this repository and access the generated folder
$ git clone git://github.com/vitorbritto/boilerplates.git [project-name]
$ cd [project-name]
# 2. Install dependencies and make the script executable
$ npm install
STEP 02: Execute the program
# Conventional Method
$ node newproject
----- OR -----
# Executable Script
$ chmod u+x newproject.js
$ ./newproject.js
STEP 03: Profit! :)
Note: chmod is an UNIX command, not present in MS-DOS.
Place this Bash Function in your .bashrc
file.
# Start a new project
new() {
printf "→ Setting up your new project\n"
git clone git://github.com/vitorbritto/boilerplates.git $1
cd $1
printf "→ Installing dependencies\n"
npm install
clear
printf "\n→ Initializing...\n"
node newproject
}
And execute it with: new [project-name]
Here are the boilerplates available yet.
- General
- Mobile
- WordPress
- Web App - only client side
- BENM Stack
- MEAN Stack
- Node App
- CLI Tool
- NPM Package
- Rails
- Sinatra - for RESTful API
- Jekyll
- Harp
- DocPad
MIT License © Vitor Britto