All Projects → vtex → speedbag

vtex / speedbag

Licence: MIT license
The no-nonsense front end boilerplate

Programming Languages

HTML
75241 projects
coffeescript
4710 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to speedbag

front.portal-plugins
Portal front end plugins
Stars: ✭ 31 (+121.43%)
Mutual labels:  xp-developer, srv-store-framework
store
VTEX IO Store Framework
Stars: ✭ 50 (+257.14%)
Mutual labels:  xp-developer, srv-store-framework
toolbelt
CLI for creating and managing VTEX apps
Stars: ✭ 42 (+200%)
Mutual labels:  xp-developer
tortin
Tortin is a responsive theme for GitHub Pages with color options
Stars: ✭ 16 (+14.29%)
Mutual labels:  xp-developer
react-app-template
Our guide repository structure for react apps, that should be used as a template.
Stars: ✭ 35 (+150%)
Mutual labels:  xp-developer
admin-pages
The VTEX Pages CMS Admin
Stars: ✭ 12 (-14.29%)
Mutual labels:  xp-developer
dotfiles
Mac OSX Developer Setup
Stars: ✭ 27 (+92.86%)
Mutual labels:  xp-developer
vtex-tachyons
Functional CSS for humans — customized by the VTEX team
Stars: ✭ 17 (+21.43%)
Mutual labels:  xp-developer

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].