ryoakg
3/20/2016 - 2:38 AM

new-codeigniter-project.sh

#! /bin/sh
[ -z $1 ] && { echo "USAGE: $0 PROJECT-NAME" ; exit 1 ; }
project=$1

composer create-project kenjis/codeigniter-composer-installer $project

cd $project
echo '*~' >> .gitignore
git init
git add * .*
git commit -m 'the first commit.'