Giter VIP home page Giter VIP logo

ngstart's Introduction

##al_ui_template Framework - Getting started

*~ You must have installed XCode and accepted the licensing agreemment before continuing with this document *
*
You mst have an Alert Logic Github Enterprise account and a Github account with SSH keys configured to complete this process ~*

###Prerequisite software
Install Homebrew
$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
*~ Homebrew allows us to easily install and manage packages with dependencies ~*

Use Homebrew to install NGINX
$ brew install nginx
*~ The proxy and server for the development UI ~*

Use Homebrew to install Node
$ brew install node
*~ Javascript runtime required to run UI cli tools ~*

Use Homebrew to install Rebar
$ brew install rebar
*~ Rebar can fetch and build projects from external sources. ~*

Make sure your system can handle large numbers of open files
$ echo 'kern.maxfiles=20480' | sudo tee -a /etc/sysctl.conf
$ echo -e 'limit maxfiles 8192 20480\nlimit maxproc 1000 2000' | sudo tee -a /etc/launchd.conf
$ echo 'ulimit -n 4096' | sudo tee -a /etc/profile

REBOOT

###Creating your development environment Install dependencies using NPM and bower
$ sudo npm install
$ sudo npm install -g bower
$ sudo npm install -g grunt-cli
$ bower install

LESS needs to be transpiled into CSS and this happens by running the correct grunt task
$ grunt less:production
Anytime LESS files are updated you will need to re-run this task

###Working in your environment

*~ You may need to stop apache before starting NGINX ~*

The NPM install process that was run earlier installed some Node modules that make the al_ui_template framework much more helpful than simple code checkouts. Starting up the framework will enable the built in web server, real time linting, unit tests, documentation and translation, as well as the UI artifact build system.

Start the built in webserver by running the grunt web task.
$ grunt web
*~ watch your terminal for the real-time background tasks that are performed on most file saves ~*

You my now visit http://127.0.0.1:8888/

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.