Giter Club home page Giter Club logo

disposable_iot_ui's Introduction

Install guide

Table of Contents

  1. Install Node.js
  2. Install MongoDB
  3. Install Small IOT Test & Verify Tool UI application

Install Node.js

  1. Visit node.js homepage

    https://nodejs.org/ko/download/

  2. Download & install

    1. Windows : Download Windows Installer (.msi) and double click it.

    2. Linux : Follow instructions on

      https://nodejs.org/ko/download/package-manager/

Install MongoDB

  1. Visit MongoDB homepage

    https://www.mongodb.com

  2. Download MongoDB Community Server

    1. Windows : Download Windows installer and double click it. https://www.mongodb.com/download-center?jmp=nav#community

    2. Linux : Follow instructions on https://docs.mongodb.com/manual/administration/install-on-linux

    3. Start MongoDB

      sudo service mongod start 
      
    4. Create admin user ({{mongo-admin}} / {{monog-admin-password}})

      mongo --port 27017
      
      use admin
      db.createUser(
        {
          user: "{{mongo-admin}}",
          pwd: "{{mongo-admin-password}}",
          roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]
        }
      )
      
    5. Authorization config

      vi /etc/mongod.conf
      
      systemLog:
       destination: file
       path: /usr/local/var/log/mongodb/mongo.log
       logAppend: true
      storage:
       dbPath: /usr/local/var/mongodb
      net:
       #bindIp: 127.0.0.1
       bindIp: 0.0.0.0
      
      security:
       authorization: "enabled"
      
    6. Restart

      sudo service mongod restart 
      
    7. Create user (iotvtool-user / keti12#$ )

      mongo --port 27017 -u "{{mongo-admin}}" -p "{{mongo-admin-password}}" --authenticationDatabase "admin"
      
      use iotvtool
      db.createUser(
        {
          user: "iotvtool-user",
          pwd: "keti12#$",
          roles: [ { role: "readWrite", db: "iotvtool" } ,
          { role: "dbAdmin", db: "iotvtool" } 
          ]
        }
      )
      

Install Small IOT Test & Verify Tool UI application

  1. Clone source code from github and install libraries.

    git clone https://xxx.com/iot-vtool.git
    cd iot-vtool
    npm install
    cd _public
    bower install
    
  2. Start application

    npm start
    

disposable_iot_ui's People

Watchers

James Cloos avatar

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.