0.0.5 • Published 10 years ago

gulp-mamp v0.0.5

Weekly downloads
3
License
ISC
Repository
github
Last release
10 years ago

Gulp MAMP

Build Status

Gulp MAMP allows you to configure, start and stop your MAMP server from the terminal.

npm install gulp-mamp

The "mamp" task

The Goods

Configure your site_path and port and you are good to go. Your gulpfile.js should look like this:

/* !!!! CONFIGURE !!!!
================================ */
var options = {};
options.user = 'yourusername';
options.port = 8888;
options.site_path = '/your/full/site/path'; // something like /Users/username/sites/mymampsite 

// Modules
var gulp = require('gulp');
var mamp = require('gulp-mamp');

gulp.task('config', function(cb){
    mamp(options, 'config', cb);
});

gulp.task('start', function(cb){
    mamp(options, 'start', cb);
});

gulp.task('stop', function(cb){
    mamp(options, 'stop', cb);
});

gulp.task('mamp', ['config', 'start']);

Getting Started (and Stopped!)

Once you have your gulpfile.js file configged, you can run the following commands to config, start and stop MAMP.

gulp mamp
gulp stop
0.0.5

10 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.13

11 years ago

0.0.12

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago