Menu icon Foundation
ZURB Template Swap out server?

I am sort of getting to grips with the Zurb template but I would like to use my local WAMP server instead of the gulp created server. I would still like livereload or an equivalent to work. How should I reconfigure the gulp file?

I'm kind of paddling out of my depth here so be gentle......

Thanks!

Graham

PS. Can someone PLEASE do a tutorial (series?) on the ZURB template. There is a huge amount to bite off here....

templategulpserverwamp

I am sort of getting to grips with the Zurb template but I would like to use my local WAMP server instead of the gulp created server. I would still like livereload or an equivalent to work. How should I reconfigure the gulp file?

I'm kind of paddling out of my depth here so be gentle......

Thanks!

Graham

PS. Can someone PLEASE do a tutorial (series?) on the ZURB template. There is a huge amount to bite off here....

Rafi Benkual over 3 years ago

Hi Graham,

You are able to use your own server with the ZURB templete. I'm using apache and it loads fine. The Browsersync stuff is attached to the Gulp server it creates.

This is more of a general topic that is covered in some places:

http://duaneblake.co.uk/front-end/how-to-set-up-browsersync-with-wordpress-using-wamp-and-gulp/

https://gist.github.com/DESIGNfromWITHIN/11383339

http://www.hownodejs.com/14/02/gulp-browsersync-wamp.html

Graham Openshaw over 3 years ago

Thanks Rafi!

I managed to sort it out by using the following:

// Start a server with BrowserSync to preview the site in
function server(done) {
  browser.init({
    // server: PATHS.dist, port: PORT    **** Using local WAMP server instead
    proxy: "http://localhost/Web_Development/Sites/zurbcms/dist/"
  });
  done();
}

I'm learning a lot but I'm finding the undocumented combination of an E6 gulpfile, gulp4, yml, json, and bower a huge challenge. For instance I cannot for the life of me work out how to add a new gulp process in this environment. A tutorial series just on the ZURB template would be incredibly valuable to me and I have seen other similar posts. I know you Zurbians have to actually earn a living so maybe a superuser (James Stone?) or TUTS will step up.....

References to any useful material on this would be much appreciated. Thanks for the awesome framework.

Graham

 

Jarryd Fillmore over 3 years ago

Awesome, I was looking into this too. Thanks for the feedback Rafi.