Coder Social home page Coder Social logo

aharshbe / loaner_automation Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 8.0 31.24 MB

Loaner automation project for GitHub

C 3.16% Makefile 4.46% Python 90.55% Shell 0.26% Objective-C 0.35% Batchfile 0.01% CSS 0.01% Roff 0.15% DTrace 0.01% Visual Basic 0.01% PLSQL 0.16% HTML 0.78% Mako 0.05% JavaScript 0.06%

loaner_automation's Introduction

Loaner Self Service

Purpose

  • Create a GUI based tool which will allow users to check out loaners without the need of IT

  • Allows the user to:

    • Create their own user account
  • Script creates:

    • New user account via the user with GUI
    • Creates a local account on the loaner machine with credentials provided by user
    • Automates the re-provisioning of the machine for the next user

Dependencies:

  • Python 3.7 installed
  • Python .env and .env credentials
    • sudo pip3 install -U python-dotenv

Usage:

  • Clone repo, i.e., git clone https://github.com/aharshbe/loaner_automation
  • In your terminal, cd into the repo
  • cd into loaner_automation/files
  • Type python3 ./loaner_automation_ui.py

Mongo Server initialization:

  • use <db name>
  • db.createUser({ user: “<username>” , pwd: “<password>“, roles: [ { role: “readWrite”, db: “<db name>“}])
  • make .env
    • cat .env ->
DB=<dbname>
USERNAME=<username>
PASSWORD=<password>
MONGOOSE_URI=mongodb://localhost:27017/

Authors:

loaner_automation's People

Stargazers

 avatar  avatar  avatar

Watchers

 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.