Git Product home page Git Product logo

ubirch-admin-ui's Introduction

ubirch Admin UI

General Information

ubirch user interface to manage and monitor IOT devices

Quick Start

  1. start ubirch-avatar-service at localhost:8080 (default)
  2. npm install
  3. bower install
  4. `grunt serve
  5. Open http://localhost:9000

API Documentation

The documentation of the underlying API can be found here

Dependencies

We expect the following tools been installed on the machine:

npm is bundled with node

Download and install Node.js from the following download page:

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

For Unix you can all

    curl -L https://www.npmjs.com/install.sh | sh

Build & development

Run locally

If you want to run the latest code from git, here's how to get started:

  1. checkout and follow the instructions of the ubirch-avatar-service

     git clone https://github.com/ubirch/ubirch-avatar-service
    
  2. Clone the code:

    (deposit your PubKey at gitHub)

     git clone [email protected]:ubirch/ubirch-admin-ui.git
     cd ubirch-admin-ui
    
  3. Install the project dependencies

     npm install
    
  4. Install the used angular modules

     bower install
    
  5. Start backend

See instructions in BE components

  1. Build and run the code on localhost:9000

     grunt serve
    
  2. Open in Browser:

     http://localhost:9000
    

Deployment

If you want to deploy the latest version on a server, follow these instructions:

  1. Clone the code:

     git clone https://github.com/ubirch/ubirch-admin-ui
     cd ubirch-admin-ui
    
  2. Server settings

change the settings, especially in one of the following files:

  • settings/settings_local.js
  • settings/settings_docker.js
  • settings/settings_demo.js
  • settings/settings_dev.js

especially change

  • the url of the backend api server in UBIRCH_API_HOST
  • the url of the ubirch auth service in UBIRCH_AUTH_SERVICE_API_HOST
  • specify DEFAULT_DEVICE_TYPE_KEY if it doesn't equal to 'unknownDeviceTypeKey'
  1. Run deployment script

For prod (currently demo) deployment execute

    ./deployWeb.sh

For dev deployment execute

    ./deployWeb.sh dev
  1. optional: define special settings
  • create a file settings/settings_xy.js

  • specify all settings properties you find in settings_dev.js

  • call

    ./deployWeb.sh xy
    
  1. run on localhost

Start the following services on localhost:

  • avatar service
  • auth service (containing user service endpoints)

Then you can start the admin ui with

    ./testWebLocalhost.sh

When you want to use the services on dev you can start the admin ui with

    ./testWebLocalhostWithDevServices.sh

Docker Deployment

./goBuild.sh docker

creates a dist version in ./dist/

All files under ./dist/ have to be put into a webserver root folder.

These placeholder:

have to be replaced in ./dist/scripts/scripts.*.js

In each dist version all js files have a random number as a part of the filename to avoid caching problems.

Contact

This project is a creation of the ubirch GmbH.

If you find bugs or have improvements feel free to contact us:

License

If not otherwise noted in the individual files, the code in this repository is

Copyright © 2016 ubirch GmbH, Author: Beate Fiß

the Apache License Version 2.0, January 2004

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Third Party Libraries and Frameworks

ubirch-admin-ui's People

Contributors

maxheadroom avatar moellusubirch avatar dermicha avatar thinkberg avatar moellus avatar cvandrei avatar

Stargazers

vpatrin avatar

Watchers

Annabel Church avatar James Cloos avatar  avatar Mikołaj Robakowski avatar  avatar domlen avatar Stephan Noller avatar  avatar Hiroki avatar Carlos Augusto Sanchez avatar Niranjan Rao avatar Sabine Wolf avatar Lotta Rüger avatar Mustafa DAĞDELEN avatar  avatar

ubirch-admin-ui's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.