Git Product home page Git Product logo

rgulp-repo's Introduction

Vlipco's gulp-repo

This a gulp repo used to build multiple Vlipco front-end apps.

Environment dependencies

  • npm >= 1.4.3
  • node >= v0.10.26
  • ruby >= 2.0.0
  • bundler >= 1.4.0.rc.1

Has been tested with npm v1.4.3 & node v0.10.26

Preparing your environment

  1. Make sure all env dependencies are satisfied.
  2. If you are on osx brew install pngquant pngcrush for assetgraph-builder for other platforms, check the repo.
  3. Install gulp globally with npm install gulp -g
  4. Install Rgulp globally with npm install rgulp -g

Including in a project

Once you have your environment with all dependencies, you simply include an RGfile.coffee (or RGfile.js) at the root of your project.

This tells Rgulp how to get this repo and apply if to your repo, this is a sample of what it should look like:

repo_data = src: '[email protected]:Vlipco/rgulp-repo.git', checkout: 'master'
module.exports = source: repo_data

It says that the gulp repo to use is this git repo checked out at the master branch.

After adding this, simply run rgulp prepare in your project (this can take some minutes, be patient) and this will:

  1. Clone this repo into .rgulp folder
  2. Run the prepare script that install the ruby & node dependencies.

Then just run rgulp -T to see all the tasks you have available.

Misc. notes

This gulpgile accepts --type production/deployment to trigger target specific settings

Potential improvements:

  • Make the sourcemaps work correctly.
  • Plumber to prevent errors
  • Deploy with ansible
  • watch for changes in build & remake compressed version
  • caching
  • receive configuration variables, e.g. CDN url

The NVM_DIR ENV variable is needed to run.

Selenium standalone server downloaded from: http://selenium-release.storage.googleapis.com/index.html?path=2.40/ into test/vendor

rgulp-repo's People

Contributors

davidpelaez avatar fpinzn avatar

Watchers

 avatar  avatar  avatar

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.