Skip to content

Yeoman based generator for Symphony Bots and Applications

License

Notifications You must be signed in to change notification settings

finos/generator-symphony

Repository files navigation

FINOS - Incubating npm version Build

Symphony Generator

Yeoman based generator for Symphony Bots and Applications:

Installation

Install the Yeoman utility and Symphony Generator

npm install -g yo @finos/generator-symphony

Usage

Create a new directory and go into it

mkdir myBot && cd myBot

Run Symphony Generator and follow instructions on screen

yo @finos/symphony

If you are behind a web proxy, use the https_proxy environment variable to configure the address of your proxy server and port.

export https_proxy=http://localhost:3128

Symphony Generator will automatically fetch the latest version of BDKs/WDK and use it to generate your project. In case the request fails, it will fallback on a default version.

In case of a Java bot application, once the project is generated, the generator will try to download the chosen package manager wrapper to build the project. If for any reason (e.g. network constraint) the build fails, the generator will then try to build the project again by using local package manager.

NOTE: The generation process will continue no matter what the build status is.

Contributing

  1. Fork it (https://github.com/finos/generator-symphony/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Read our contribution guidelines and Community Code of Conduct
  4. Commit your changes (git commit -am 'Add some fooBar')
  5. Push to the branch (git push origin feature/fooBar)
  6. Create a new Pull Request

NOTE: Commits and pull requests to FINOS repositories will only be accepted from those contributors with an active, executed Individual Contributor License Agreement (ICLA) with FINOS OR who are covered under an existing and active Corporate Contribution License Agreement (CCLA) executed with FINOS. Commits from individuals not covered under an ICLA or CCLA will be flagged and blocked by the FINOS Clabot tool (or EasyCLA). Please note that some CCLAs require individuals/employees to be explicitly named on the CCLA.

Need an ICLA? Unsure if you are covered under an existing CCLA? Email [email protected]

Legacy generators

⚠️ It is not recommended using the legacy generators, as the underlying libraries are not maintained anymore.

To generate legacy projects (.NET, NodeJS and legacy Java/Python SDKs), please run the following command:

npm install [email protected]

or build your own version from the legacy branch.

License

Copyright 2022 Symphony LLC

Distributed under the Apache License, Version 2.0.

SPDX-License-Identifier: Apache-2.0