Giter Club home page Giter Club logo

al_ui_template's Introduction

al_ui_template Framework

Getting started

Requirements

  • You must have XCode installed and accept the licensing agreement before continuing with this document. Be advised that XCode is a massive download!

  • You must have a Github account, with SSH keys configured.

    Tip! Run the following commands to validate your access to both public and enterprise githubs:

    $ ssh -T [email protected]

    Both of these commands must indicate that you are properly authenticated. For help with SSH authentication, refer to this page.

  • Homebrew (the excellent package management system) must be installed. You can install homebrew from the terminal with this command:

    $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  • Node (a javascript runtime used to run Ozone's commandline and development support tools) must be installed. You can install NodeJS from the terminal with this command:

    $ brew install node

  • Your system must be configured to handle a large number of open files. Note: the consequences of not enabling this are subtle, and this step is NOT necessary if you simply want to build a deployable artifact or review functionality.

    $ echo 'kern.maxfiles=32768' | sudo tee -a /etc/sysctl.conf $ echo -e 'limit maxfiles 8192 32768\nlimit maxproc 1000 2000' | sudo tee -a /etc/launchd.conf $ echo 'ulimit -n 32768' | sudo tee -a /etc/profile

    Please note: you MUST reboot for these changes to be effective.

Setting Up Your Development Environment

Create a personal fork of all UI projects and its proprietary dependencies to begin working on them. To do this, visit each of the repositories listed below and click the fork button at the top right.

Clone the Alertlogic fork of the al_ui_template repository into your local file system. We recommend ~/workspace and documentation will refer to this path, but it is quite arbitrary. Use the following sequence of commands to perform the clone and install your local development environment. Be sure to substitute your github enterprise username for the 'ALGITHUB_USERNAME' parameter in the last command:

$ git clone [email protected]:alertlogic/al_ui_template.git al_ui_template
$ cd al_ui_template
$ build/install.sh

This script will perform the following actions:

  • Fully installs the operating environment and all of its dependencies

###Working in Your Environment

The NPM install process used to set up the development environment adds some important and very useful functionality to the framework. In addition to providing a local web server, real-time code linting, unit testing (provided via Karma and Jasmine), a documentation generator, pre-push hooks, and a deployable artifact generator, it also makes it extremely easy to add new support functionality in the form of node or bash scripts.

Automated task management is available via multiple NPM commands if you wish to run them. To have everything watched automatically you may run: $ npm run watch You may also just run the built in webserver by running the NPM start task. $ npm start To execute on-demand linting and testing run: $ npm test

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

Building the al_ui_template artifact

al_ui_template's build process runs a series of filters to make sure that the resulting deployable artifact is well formed and functional. You can produce a build artifact at any time by running

$ npm run build

al_ui_template's People

Contributors

barryskidmore avatar

Watchers

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