Skip to content
This repository has been archived by the owner on Jan 28, 2024. It is now read-only.

presentator/presentator-spa

Repository files navigation

Presentator v2 SPA

Important

This repo is for the older Presentator v2 and it is no longer maintained.

Interface screenshot

Presentator SPA is a frontend interface for the Presentator v2 REST API. It is built with Vue.js and Webpack.

This repository is READ-ONLY. Report issues and send pull requests in the main Presentator repository.

Installing

The prebuilt package located in dist/ is meant to be used with presentator/starter. If you want to customize the default configurations and build your own version of the application, please follow the steps below.

  1. Download or clone the project repo.

  2. Create a new .env.local file in the project root directory. Copy and edit the configuration settings from .env to suit your environment setup.

  3. Run the appropriate console commands:

# installs dependencies
npm install

# starts a dev server with hot reload at localhost:8080
npm run serve

# generates i18n-report.json file with info about the current i18n app state
npm run i18n:report

# generates production ready bundle in dist/ directory
npm run build

Built files are meant to be served over an HTTP server. Opening index.html over file:// won't work.