@vulcan-sql/catalog-server

0.10.4 • Public • Published

catalog-server

This package serves as a catalog page for VulcanSQL.

Install

  1. Install package

    npm i @vulcan-sql/catalog-server
  2. Use @vulcan-sql/cli to start the catalog server.
    (The VulcanSQL server needs to listen first.)

    vulcan catalog
  3. Open in browser. By default, it is http://localhost:4200.

Running a Production

  1. Use @vulcan-sql/cli to generate the catalog server assets.

    Node.js:

      vulcan package -o node -t catalog-server

    Copy the files in the ./dist folder to your production servers. Then run npm install && node index.js to start the server.

    Docker:

      vulcan package -o docker -t catalog-server
      docker build -t <tag> ./dist

Configurations (optional)

These are some configurations related with catalog in vulcan.yaml.

  • The listen port can be change or just directly use vulcan catalog -p 4200.
  • The production packager folderPath also can be change if needed.
# change the listen port
catalog:
  port: 4200

# change the production packager folder path
node-packager:
  catalog-server:
    folderPath: dist
docker-packager:
  catalog-server:
    folderPath: dist

Package Sidebar

Install

npm i @vulcan-sql/catalog-server

Weekly Downloads

76

Version

0.10.4

License

Apache-2.0

Unpacked Size

104 MB

Total Files

102

Last publish

Collaborators

  • fredalai
  • shimin.wong
  • cannerbot
  • wwwy3y3