_____ _____ _____ _____ _____ _
| | | | | __|___| _ |___ ___ _ _| |___ ___
| | | | | | | | | __|___| | | . | | | | .'| _|
|_|_|_|_|___|_____|_____| |__|__|_|_|_ |___|_|__,|_|
|___|
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.
- 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.
In order to add icons to mno-enterprise-angular you need to:
- Create a new folder under
images/spritesand 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>
gulporgulp buildto build an optimized version of your application in/distgulp serveto launch a browser sync server on your source filesgulp serve:distto launch a server on your optimized applicationgulp spritesto generate a sprite file with all the images inimages/spritesgulp testto launch your unit tests with Karmagulp test:autoto launch your unit tests with Karma in watch modegulp protractorto launch your e2e tests with Protractorgulp protractor:distto launch your e2e tests with Protractor on the dist files