Coder Social home page Coder Social logo

fiware-users's Introduction

#fiware-users License badge

Script to get the number of Trial and Community users in a FIWARE Lab node.

Build and Install

Requirements

The following software must be installed:

  • Python 2.7
  • pip
  • virtualenv

Installation

The recommend installation method is using a virtualenv. Actually, the installation process is only about the python dependencies, because the python code do not need installation.

  1. Clone this repository.
  2. Create virtualenv: 'virtualenv -p python2.7 env
  3. Activate the virtualenv: 'source env/bin/activate
  4. Install dependencies: 'pip install -r requirements.txt'

Top

Configuration

The configuration file can be found in fiware-users.ini. You need to specify a valid administrator user credentials (tenant id, username and password) besides with the correct name of the FIWARE Lab node. You can copy this file in the /etc/fiware.d or define the environment variable 'FIWARE_USERS_SETTINGS_FILE' to the place in which you put yout config file.

$ export FIWARE_USERS_SETTINGS_FILE=fiware-users.ini 

Top

Run

To execute the script, just run the command:

$ python get_users.py

Top

License

These scripts are licensed under Apache License 2.0.

fiware-users's People

Contributors

flopezag avatar jicarretero avatar

Watchers

 avatar  avatar  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.