Code Monkey home page Code Monkey logo

speedbag's Introduction

Speedbag 4

A grunt coffee/less/live-reload/cssmin/uglify/connect/angular/bootstrap/jquery/underscore boilerplate.

Requires node and grunt.

Quickstart

npm i -g grunt-cli releasy

cd speedbag
npm i
grunt

Have fun! Changes to your coffee, less or html files will reload the page automatically. Nice.

The compiled files can be found in the /build folder.

Distributable build (minifies, etc.)

grunt dist

The deploy-ready files can be found in the /deploy folder.

Deploying

releasy

TeamCity should pick up your new tag and start a deploy. (For details, see Releasy)

Warning: If your project is going to be an /admin check this readme or check releases-ui as an exemple

Folder structure

  • src - most of your files will be here.
    • script - CoffeeScript and JS source files
    • style - CSS and LESS source files
    • templates - Knockout JS style templates examples
    • views and partials - Angular templates examples
    • i18n - Translations for usage with ng-translate
    • index.html - Your app entry point.
  • Gruntfile.coffee - This is the configuration file for grunt. Contains all the build tasks.
  • build - this folder will be created after you run a grunt task.

Grunt VTEX

The Speedbag Gruntfile is actually quite empty.
This is because all tasks are defined in the meta-project grunt-vtex.
If you want to contribute an improvement to a task, please do so on that repo.
Your Gruntfile should only contain customizations that are very specific to your project.

Checking dependencies

https://david-dm.org/vtex/speedbag#info=devDependencies&view=table


Common issues:

EADDRINUSE - Someone is already using one of the ports used by this app, either connect's 9001 or LiveReload's 35729. Shut down interfering services or change the ports on Gruntfile.coffee.


VTEX - 2014

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.