/mavedb-ui

MaveDB UI

Primary LanguageVueGNU Affero General Public License v3.0AGPL-3.0

mavedb-ui

MaveDB user interface

Build and deployment

Prerequisites

For development

Your development environment will need to have the following software installed.

  • Node.js, version 14.

    https://nodejs.org/en/download/

    In addition to the installer packages, Node.js is also available through many package managers, such as Homebrew for macOS.

    Node.js includes the package manager NPM.

For deployment

Installing dependencies

In the project root directory, run

npm install

to install all project dependencies.

Running locally in development

In development, this Vue.js application is served by the Vue Loader, which supports hot reload of updated components.

To start the application in the Vue Loader, run this command from the project root directory:

npm run serve

Building for production

In production, the application is a static web application bundled using Webpack.

To build for production, run

npm run build

in the project root directory. The result is generated in the dest subdirectory, and the contents of dest can be deployed as static files on any web server.

Deploying in production

Prerequisites

Procedure

To deploy in production, simply push the contents of dist to the appropriate S3 bucket:

aws s3 sync ./dist s3://mavedb-ui