Skip to content

[Abandoned] The first attempt at an admin panel for EcoSystem, created with Polymer.

License

Notifications You must be signed in to change notification settings

jpincas/ecosystem-admin

Repository files navigation

Note: This was the first version of the EcoSystem admin panel, built in Polymer. It has been abandoned in favour of a differerent architecture, but the repository remains here as a reference and does contain some useful inspiration if you're looking for guidance on how to use Polymer with EcoSystem. Not adviseable to use in production.

EcoSystem Admin Panel App

This is the EcoSystem admin panel, created with Polymer. It is intended to be used alongside the EcoSystem server.

Setup

Prerequisites

Install polymer-cli:

npm install -g polymer-cli

Start the development server

This command serves the app at http://localhost:8080 and provides basic URL routing for the app:

polymer serve --open

Build

This command performs HTML, CSS, and JS minification on the application dependencies, and generates a service-worker.js file with code to pre-cache the dependencies based on the entrypoint and fragments specified in polymer.json. The minified files are output to the build/unbundled folder, and are suitable for serving from a HTTP/2+Push compatible server.

In addition the command also creates a fallback build/bundled folder, generated using fragment bundling, suitable for serving from non H2/push-compatible servers or to clients that do not support H2/Push.

polymer build

Preview the build

This command serves the minified version of the app at http://localhost:8080 in an unbundled state, as it would be served by a push-compatible server:

polymer serve build/unbundled

This command serves the minified version of the app at http://localhost:8080 generated using fragment bundling:

polymer serve build/bundled

Run tests

This command will run Web Component Tester against the browsers currently installed on your machine.

polymer test

Licence

Build freely with EcoSystem. The EcoSystem Server and The EcoSystem Admin Panel App are licensed under the Apache 2.0 License. The content on the [EcoSystem website] (http://www.ecosystem.software) is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. Neither licence grants permission to use the trade names, trademarks, service marks, or product names of EcoSystem, including the EcoSystem logo and symbol, except as required for reasonable and customary use.

About

[Abandoned] The first attempt at an admin panel for EcoSystem, created with Polymer.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published