Giter Site home page Giter Site logo

boot's Introduction

Boot

Templates for creating new projects

webapp

All the stuff for a single-page frontend app. With Gulp, CoffeeScript, Less, Bootstrap, Backbone, Marionette, RequireJS and all other friends.

webapp-yo-react

Based on a yeoman template, this template includes a proper setup for a modern single-page frontend app based on ES6 (through Babel), React, React-Bootstrap, alt (a terse flux implementation), Gulp and browserify.

Usage

Download a zip of the repo from Github and extract the webapp somewhere and rename it. Sources in app, distribution files in dist or www.

Cordova

Use cordova-create.sh <project-name> inside the project's directory to integrate Cordova. No platforms are added by default. Run cordova platforms add ios for example. This will create a new folder with the Cordova integration. The new folder is will be prefixed with a _. You can remove the old folder and rename the new one if you like.

When using Cordova you should use hash urls instead of pushState and remove the leading slashes from any asset path (eg. /scripts -> scripts).

A couple of things you might want to do:

  • (iOS 8+) Add a launch file (.xib). See Apple Developer Documentation. You still need splash screens for iOS 7.
  • (iOS) Create an Asset Catalog (.xcassets) for icons and launch screens. Use a tool like ...
  • Add <preference name="DisallowOverscroll" value="true"/> to your config.xml to stop the whole app to bounce on scroll. Use -webkit-overflow-scrolling: touch; in your app's CSS instead (iOS only).
  • Restrict device orientations <preference name="Orientation" value="portrait" />
  • Set minimum versions of platforms

Dependencies

  • node
  • npm
  • gulp
  • bower
  • cordova (optional)

basic-auth-server

A simple express server with basic auth. Use NODE_USERNAME and NODE_PASSWORD in your env.

bower-component

WIP. Make a small component for bower.

License

MIT license © 2014 scalable minds

boot's People

Contributors

hotzenklotz avatar philippotto avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

boot's Issues

Image copy is broken

Everytime I add a new image or edit an image and run gulp watch (or the watch is already running) the whole gulp pipeline crashes.

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn EACCES
  at errnoException (child_process.js:1001:11)
  at Process.ChildProcess._handle.onexit (child_process.js:792:34)

gulp watch exits on coffee compile errors

In spite of the error-handler in scripts.coffee, gulp watch exits on coffee compile errors. At least on Windows.

[gulp] Finished 'html' in 13 ms

events.js:72
        throw er; // Unhandled 'error' event
              ^
...\app\scripts\sample.coffee:181:17: error: unexpected indentation
  exampleError =
                ^

Less compiling breaks on error

Once gulp-less finds an error in you less file, this sub-process completely dies. New changes to any LESS files won't be compiled again. The rest of the gulp-pipeling is unaffected by this crash and continues to work.

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.