Skip to content
This repository has been archived by the owner on Oct 20, 2019. It is now read-only.

Commit

Permalink
Makefile updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
fahad19 committed Sep 1, 2013
1 parent 4daa7d6 commit 2fe4d07
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
18 changes: 9 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
composer:
curl -sS https://getcomposer.org/installer | php
#php composer.phar install
php composer.phar install

npm:
./Console/cake croogo aggregateManifestFile package.json
npm install
sudo npm install

bower:
./Console/cake croogo aggregateManifestFile bower.json
./node_modules/.bin/bower install --allow-root
sudo ./node_modules/.bin/bower install --allow-root

build:
./node_modules/.bin/grunt build
sudo ./node_modules/.bin/grunt build

update:
make npm
Expand All @@ -25,8 +25,8 @@ nginx:
sudo service nginx restart

php:
sudo cp /vagrant/etc/development/php5/fpm/php.ini /etc/php5/fpm/php.ini
sudo cp /vagrant/etc/development/php5/fpm/php-fpm.conf /etc/php5/fpm/php-fpm.conf
sudo /usr/sbin/php5-fpm -c /etc/php5/fpm/php-fpm.conf -t
([ -x /etc/init.d/php5-fpm ] && sudo /etc/init.d/php5-fpm start)
([ -x /etc/init.d/php5-fpm ] && sudo /etc/init.d/php5-fpm reload)
sudo cp /vagrant/etc/development/php5/fpm/php.ini /etc/php5/fpm/php.ini || true
sudo cp /vagrant/etc/development/php5/fpm/php-fpm.conf /etc/php5/fpm/php-fpm.conf || true
sudo /usr/sbin/php5-fpm -c /etc/php5/fpm/php-fpm.conf -t || true
([ -x /etc/init.d/php5-fpm ] && sudo /etc/init.d/php5-fpm start) || true
([ -x /etc/init.d/php5-fpm ] && sudo /etc/init.d/php5-fpm reload) || true
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"title": "Croogo App",
"name": "croogo-app",
"name": "croogo-app",
"devDependencies": {
"bootstrap": "2.3.x",
"font-awesome": "3.2.x"
}
}
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"title": "Croogo App",
"name": "croogo-app",
"repository": {
"type": "git",
"url": "git://github.com/croogo/app.git"
},
"type": "git",
"url": "git://github.com/croogo/app.git"
},
"dependencies": {
"bower": "1.2.x",
"grunt-cli": "0.1.x",
Expand All @@ -16,4 +16,4 @@
"grunt-contrib-less": "0.5.x",
"grunt-contrib-concat": "0.2.x"
}
}
}

0 comments on commit 2fe4d07

Please sign in to comment.