GithubHelp home page GithubHelp logo

andamio's Introduction

andamio

Andamio is a set of frontend design patterns. It's intended for primarily two groups of users: # For interaction designers, it's easy to quickly create actual prototypes by copy/pasting some HTML. # For frontend developers, it's a minimal, flexible base framework to add your own visual designs to.

Requirements

For compiling the CSS, we use the Grunt LESS module.

If you want to compile the CSS, you need to install the following:

  • http://nodejs.org/
  • from the command line, install grunt: npm install -g grunt
  • in the andamio directory, run this: npm install grunt-contrib-less

Compile the CSS by running the following command in the andamio directory: grunt less

Getting started

Andamio is setup to make it easy to include in your project and adding your own CSS and Javascript to it.

I would suggest a directory structure like this:

/project-name/
    |-- andamio/
    |-- style/
        |-- *main.less*
    |-- js/

In the directory project-name/style/, add this file: main.less

Add the following lines to main.less:

@import "../andamio/style/main.less";
@import "mypattern.less"; // add your own patterns here

Grunt tasks

For developing, it's useful to use the grunt watch task. This will automatically compile the LESS files into main.dev.css and the Javascript files in main.dev.js, so you can include those in your templates.

Just run the following command in the andamio directory: grunt watch

The default taks is to create development and production files: grunt

Functional tests

To run the functional tests, you need CasperJS and PhantomJS. The tests are run from a script and check Andamio running at http://localhost/andamio/. The following command runs all current tests:

./run_tests.sh

Some tests generate a screenshot, you can inspect those in tests/screenshots.

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.