GithubHelp home page GithubHelp logo

isabella232 / dojo-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from csnover/dojo-boilerplate

0.0 0.0 0.0 311 KB

A starting point for developing with Dojo

Shell 7.00% JavaScript 77.72% CSS 4.44% HTML 10.84%

dojo-boilerplate's Introduction

Dojo Boilerplate: A Starter Kit for Dojo Development

The Dojo Boilerplate is a set of files to help you rapidly get up and running with the Dojo Toolkit. It illustrates some basic best practices when working with Dojo.

Quick Start

  1. Make sure you have Node.js and a Java runtime installed.
  2. Clone the repository using git clone --recursive.
  3. Run npm install to install additional Node.js dependencies.
  4. Develop your project in src/ until it is amazing.
  5. Run build.sh, which will create an awesome optimised build in dist/.
  6. Upload dist/ for millions of people the world over to enjoy.
  7. Hapyness.

Windows Users

If you have msysgit installed, run Git Bash and verify some dependencies by running the following commands:

which java
which node

A brief tour

  • All of the application's source goes in src. It will be built into dist.
  • Build profiles for the build system go in profiles.
  • The entrypoint of the demo application is the HTML file at src/index.html.
  • The build.sh script takes your application files and builds them for production use using Stylus and the Dojo build system. It depends on the presence of an application build profile at profiles/app.profile.js.
  • The file src/app/resources/app.styl contains all the CSS for the application.
  • Tests using Intern exist in the tests directory. They can be run with tests/run.sh. The test configuration is at tests/intern.js and defaults to using a Sauce Labs tunnel.

Useful resources

About the boilerplate

This boilerplate is occasionally updated to try to reflect the latest and greatest features and design patterns for writing Web apps with Dojo, but it relies heavily on information and contributions from other users. If you have an idea, suggestion, or problem, please report it or create a pull request! (Please note that you will need to have signed the Dojo CLA before your pull requests are accepted, for the good of us all!)

License

The Dojo Boilerplate is licensed under the New BSD license.

dojo-boilerplate's People

Contributors

csnover avatar rmurphey avatar kitsonk avatar rwaldron 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.