https://github.com/dadi/registry
A collection of plugins and snippets to use with the DADI platform
https://github.com/dadi/registry
Last synced: about 1 year ago
JSON representation
A collection of plugins and snippets to use with the DADI platform
- Host: GitHub
- URL: https://github.com/dadi/registry
- Owner: dadi
- Created: 2016-07-11T11:18:13.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-12-05T14:56:22.000Z (over 7 years ago)
- Last Synced: 2025-02-05T21:53:43.263Z (over 1 year ago)
- Language: JavaScript
- Size: 188 KB
- Stars: 2
- Watchers: 13
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DADI Registry
DADI registry is the data store behind [DADI CL](https://github.com/dadi/cli). It contains boilerplate applications to be used with the various DADI products, amongst various other utilities.
## Scripts
### Boilerplate generator
*Usage:*
```
node scripts/generate-boilerplates.js
```
*Description:*
Generates a ZIP archive for each boilerplate application and places it in the `output` directory. For example, it takes `api/boilerplate/3.x` and creates `output/boilerplates/api/3.x.zip`.
An endpoint listing the various boilerplate versions is created at `output/v1/boilerplates.json`.
### CLI generatior
*Usage:*
```
node scripts/generate-cli.js
```
Clones the DADI CLI repository, installs its dependencies and generates a binary for each platform supported.
An endpoint listing the binary and wrapper versions is created at `output/v1/cli.json`.
## Development
There is no production web server bundled with this repository, so you can use something like Apache or nginx to serve the static files.
For development purposes, there is a convenience NPM script to launch a Python web server if you're using Mac OS. To use it, run:
```
npm run dev
```
This will start a server on http://localhost:7100.