Skip to content

joaoffalcao/website

Repository files navigation

website

[Add application description]

Getting started

Prerequisites

First and foremost your project and its dependencies require Node and npm and Git to be installed.

  • Change to Betfair's own internal npm repository
npm config set registry http://registry.npm.dev.betfair

Installation

  1. Go to the project's root directory.
cd /<working-directory>/bf-website
  1. Install project dependencies.
npm install

Running the project

The project comes with a sandbox that allows it to run independently. You can run your app using the following command:

gulp serve

Development

There are a few tasks that might be useful during the development stages.

Check code syntax and other errors

gulp eslint

Run unit tests continuously

gulp test

Run functional tests continuously

gulp functional

Create ng-docs on the methods

gulp ngdocs

Create a dist version of the bundle, placed on the ./dist/ folder.

gulp dist

Release a new version of the module

  • Major Release
gulp release --type major
  • Minor Release
gulp release --type minor
  • Patch Release
gulp release --type patch

External Dependencies

In order to locally use the sandbox successfully the module dependencies below must be mocked.

[Add the modules dependencies. Remove if not applicable.]

Using the module in your application

  1. Set the module as an application dependency by adding it to its package.json file.
{
    "dependencies": {
        "bfWebsite": "^version"
    }
}
  1. Add the module to the list of modules your application depends on
    angular.module('myApp', ['BF.Website'])
  1. Add the directive to an html file
<bf-website></bf-website>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published