Git Product home page Git Product logo

mno-enterprise-angular's Introduction

 _____ _____ _____ _____     _____             _
|     |   | |     |   __|___|  _  |___ ___ _ _| |___ ___
| | | | | | |  |  |   __|___|     |   | . | | | | .'|  _|
|_|_|_|_|___|_____|_____|   |__|__|_|_|_  |___|_|__,|_|
                                      |___|

Code Climate

MNO Enterprise Angular Frontend

How to run in development mode

Prerequisite

Create and setup a Rails project to bootstrap an instance of Maestrano Enterprise Express as describe in the mno-enterprise Github repository.

Run this Maestrano Enterprise Express project, it should now be available at http://localhost:7000.

This project will serve as a backend for our mno-enterprise-angular development environment.

Install & run mno-enterprise-angular

  • Clone this repository, and cd mno-enterprise-angular
  • Run npm install && bower install
  • To start the project, run gulp serve

A new browser tab should be open at address http://localhost:7001, with Browsersync enabled, waiting to auto-refresh in case template or CoffeeScript code is changed, or inject any modified styles.

Use and Add icons (mnoe-icon)

In order to add icons to mno-enterprise-angular you need to:

  • Create a new folder under images/sprites and copy your images inside
  • Run the command gulp sprites. This should update the files mnoe-sprites.less and mnoe-sprites.png
  • Use your new image as a css class: (<div class="mnoe-icon mnoe-icon-nameOfFolder-nameOfFile">...</div>)

E.g: For the following architecture

|-images
    |- sprites
        |- awesome-icons
            |- image.png
            |- image-2.png

After running the gulp task you can use them like this: <i class="mnoe-icon mnoe-icon-awesome-icons-image-2"></i>

List of gulp tasks

  • gulp or gulp build to build an optimized version of your application in /dist
  • gulp serve to launch a browser sync server on your source files
  • gulp serve:dist to launch a server on your optimized application
  • gulp sprites to generate a sprite file with all the images in images/sprites
  • gulp test to launch your unit tests with Karma
  • gulp test:auto to launch your unit tests with Karma in watch mode
  • gulp protractor to launch your e2e tests with Protractor
  • gulp protractor:dist to launch your e2e tests with Protractor on the dist files

mno-enterprise-angular's People

Contributors

alexnoox avatar ouranos avatar clemoberti avatar hedudelgado avatar adamaziz15 avatar xaun avatar x4d3 avatar claire00 avatar brunochauvet avatar

Watchers

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