This is my personal Yeoman. A 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 CMD/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
}
Usage: new [project-folder-name]
- General
- B.E.N.M. Stack - new version coming soon
- M.E.A.N. Stack - new version coming soon
- Sinatra + Backbone - first release coming soon
- Web App
- Node App
- Node Webkit
- CLI Tool
- Node Package
- React Package
- React + Flux
- Sinatra API
- Slim API
- WordPress
- WP Plugin
- Jekyll
- Harp
- C Program
- Shell Script
MIT License © Vitor Britto