Skip to content

Latest commit

 

History

History
90 lines (66 loc) · 2.92 KB

README.md

File metadata and controls

90 lines (66 loc) · 2.92 KB

MasterPKG

MasterPKG is a full-stack JavaScript open-source solution, which provides a solid starting point for Syncorm, Node.js, Express, AngularJS and masterpkg base based applications. The idea is build a robust framework to support development needs, and help developers while working with JavaScript.

Before you begin

Before you begin we recommend you read about the basic building blocks that assemble a MasterPKG application:

Prerequisites

Install:

Only need execute

$ npm install masterpkg -g

Running your application

Server is similar than "Build task" but initializing the server node js

masterpkg server

Then you can access to http://localhost:3000

Running with watchers on frontend

The task client, initializes the "watches" of the files frontend (this task requires that the server is running)

masterpkg client

Then you can access to http://localhost:3001

Server build

masterpkg build

npm install script executes the following commands in the following order:

  • npm:
  • scripts:
  • templates:
  • index:
  • static:
  • bower_components:
  • sass:
  • translations:
  • app:

Test

Para ejecutar los test

masterpkg test

Need a karma config file

Test development

To run the test in debug mode

masterpkg test-dev

Need a karma config file

Master libs

To install the libraries of masterpkg base

masterpkg masterLibs

Translate

To check all files where there are translations and create files * .po

masterpkg pot