Now with Partition Management

    This package has been deprecated

    Author message:

    Please install DADI CLI instead (https://www.npmjs.com/package/@dadi/cli). Run 'dadi --help' for usage instructions.

    @dadi/generator

    1.0.0 • Public • Published

    DADI Generator

    npm version

    Overview

    Command-line application generator for DADI Web/API/CDN.

    Installation

    Installation makes the executable dadi-generator available globally, allowing you to generate a new application by passing the application type and path.

    $ npm install -g @dadi/generator

    Quick Start

    Create an API application:

    $ dadi-generator api <path>
    $ cd <path>

    Create a CDN application:

    $ dadi-generator cdn <path>
    $ cd <path>

    Create a web application:

    $ dadi-generator web <path>
    $ cd <path>

    Install dependencies:

    $ npm install

    Start the server:

    $ npm start

    Command Line Options

    This generator can also be further configured with the following command line flags.

    -h, --help          output usage information
    -V, --version       output the version number
        --git           add a .gitignore file
    -f, --force         force on non-empty directory
    

    Additional Generator Functions

    Create a client access record for DADI API:

    $ dadi-generator client

    Create a page descriptor for DADI Web:

    $ dadi-generator page

    Licence

    DADI is a data centric development and delivery stack, built specifically in support of the principles of API first and COPE.

    Copyright notice
    (C) 2016 DADI+ Limited support@dadi.tech
    All rights reserved

    This product is part of DADI.
    DADI is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version ("the GPL"). If you wish to use DADI outside the scope of the GPL, please contact us at info@dadi.co for details of alternative licence arrangements.

    This product may be distributed alongside other components available under different licences (which may not be GPL). See those components themselves, or the documentation accompanying them, to determine what licences are applicable.

    DADI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

    The GNU General Public License (GPL) is available at http://www.gnu.org/copyleft/gpl.html.
    A copy can be found in the file GPL distributed with these files.

    This copyright notice MUST APPEAR in all copies of the product!

    Keywords

    none

    Install

    npm i @dadi/generator

    DownloadsWeekly Downloads

    4

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • jeanluc.thiebaut
    • josephdenne
    • jimlambie
    • arthurmingard
    • eduardoboucas
    • abovedave
    • adamkdean