Giter VIP home page Giter VIP logo

gulp's Introduction

Introduction

This repo contains Gulp, a dockerized service to run Gulp tasks.

Gulp

Gulp let's us automate tasks when building web applications. For example, we run tasks to compress our web files (images, js, css) to serve them more efficiently, also we run tasks to check the code format (jshint), or we can also run watchers to execute tasks when files are modified. If you are new to Gulp we recommend you to check the official documentation first.

Getting started

Requirements

Configuration

Check the API docs section of the Gulp official documentation as a guideline for configuring your tasks.

Usage

This service is meant to start a docker container, run a gulp task and then be removed when the task is completed. For example:

docker run -it --rm -v $(pwd):/srv -w="/srv/src/resource" huli/gulp build

The above comand will start a docker container with the huli/gulp image, mounting the folder project in the /srv folder and setting /srv/src/resource as the working directory, this should be the folder where the Gulpfile.js is located. Finally it will run npm install and execute the build task.

gulp's People

Contributors

stevevega avatar yiyi32490 avatar jonbloom avatar

Stargazers

Çağrı avatar  avatar

Watchers

David Mora avatar  avatar Luis C. avatar James Cloos avatar Fernando de la Rosa avatar Ricardo Brenes avatar Óscar Fernández avatar Kennt Chan avatar Jose Pablo Garbanzo avatar Kevin Zuniga Aguero avatar Fabian Hernandez avatar Sebastián Segura avatar Carlos Mario Solano avatar  avatar Hugo Martín avatar

gulp's Issues

Unsupported python version

I get this error message:

Building: /usr/bin/node /srv/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ '/usr/bin/node',
gyp verb cli '/srv/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb find Python Python is not set from command line or npm configuration
gyp verb find Python Python is not set from environment variable PYTHON
gyp verb find Python checking if "python3" can be used
gyp verb find Python - executing "python3" to get executable path
gyp verb find Python - executable path is "/usr/bin/python3"
gyp verb find Python - executing "/usr/bin/python3" to get version
gyp verb find Python - version is "3.5.3"
gyp verb find Python - version is 3.5.3 - should be >=3.6.0
gyp verb find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
gyp verb find Python checking if "python" can be used
gyp verb find Python - executing "python" to get executable path
gyp verb find Python - executable path is "/usr/bin/python"
gyp verb find Python - executing "/usr/bin/python" to get version
gyp verb find Python - version is "2.7.13"
gyp verb find Python - version is 2.7.13 - should be >=3.6.0
gyp verb find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
gyp ERR! find Python
gyp ERR! find Python Python is not set from command line or npm configuration
gyp ERR! find Python Python is not set from environment variable PYTHON
gyp ERR! find Python checking if "python3" can be used
gyp ERR! find Python - executable path is "/usr/bin/python3"
gyp ERR! find Python - version is "3.5.3"
gyp ERR! find Python - version is 3.5.3 - should be >=3.6.0
gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
gyp ERR! find Python checking if "python" can be used
gyp ERR! find Python - executable path is "/usr/bin/python"
gyp ERR! find Python - version is "2.7.13"
gyp ERR! find Python - version is 2.7.13 - should be >=3.6.0
gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
gyp ERR! find Python
gyp ERR! find Python **********************************************************
gyp ERR! find Python You need to install the latest version of Python.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.