Git Product home page Git Product logo

egeo.ui.base's Introduction

Egeo CSS Base Framework

Hi! This is the repository of the Egeo Base Framework. The framework is divided in two areas mainly: principles and methodology and code and components. The first one is related to the principles and methodologies used to built the framework and the components which forms the Egeo UI Kit. This principles and methodologies can be used to build apps that uses the UI Kit but it is not mandatory. They are defined and explained in detail in the proper section of the Egeo UI Documentation.

How to install Egeo as a dependency of your project

If you work with Npm or Bower, the only thing to do is to configure the Github project of Egeo as a git repository as it shown below:

With Npm

Include the Egeo Base Framework dependency in the dependencies section of your package.json file:

  "dependencies": {
    ...
    "egeo.ui.base": "git://github.com/Stratio/egeo.ui.base.git#v0.2-rc.0",
    ...
  }

And launch npm install. You can also update the library using npm update egeo.ui.base.

With Bower

Include the Egeo Base Framework dependency in the dependencies section of your bower.json file:

  "dependencies": {
    ...
    "egeo.ui.base": "git://github.com/Stratio/egeo.ui.base.git#v0.2-rc.0",
    ...
  }

And launch bower install. You can also update the library using bower update egeo.ui.base.

How to install Egeo locally

Download the project to any folder via git clone or using the ZIP button and launch npm install to install all dependencies needed to build the website (NodeJS and Git client are required to be installed first to can use these commands on your console).

git clone https://github.com/Stratio/egeo.ui.base.git

npm install

How to use

The Base Framework is a set of Sass libraries designed to be included in other projects and not as a project itself so has no sense to build the final CSS. The only reason to do it here is to ensure that the project compiles and there are no errors.

There are three tasks we can launch from the command line to work with the project.

dist

npm run-script dist

This command compiles the framework and creates a distribution with all files needed. The distribution will be set in the dist folder and will include the whole assets needed as well as the Sass files to be imported in the final projects and a minified version of the CSS generated.

dev

npm run-script dev

This command works almost equal the dist one except because the CSS file is created in an expanded format to check easily if errors occurred.

watch

npm run-script watch

This command creates a watcher that launches the sass-dev task every time a Sass file changes.

How to test

The Kit includes a command to test the Sass code. Egeo uses Sass-True by Miriam Eric Suzanne and Mocha as unit testing framework.

The command below will launch the suite of tests:

npm run-script test

This command launches the suit of unit tests to test the Sass code.

egeo.ui.base's People

Contributors

alexrchies avatar pedrogutierrezstratio avatar aalfonso-stratio avatar

Watchers

James Cloos avatar  avatar  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.