Git Product home page Git Product logo

pt-instances-management's Introduction

Packet Tracer instance management

Web application which handles local PacketTracer instances using Docker.

Prerequisites

This application currently uses psutil. As a side effect, you need to consider its installation requirements (which change from one system to another).

Installation

Why would you want to install it?

pip install git+https://github.com/PTAnywhere/pt-instances-management.git

Requirements

The required packages are automatically installed in the procedure described above.

However, if you are going to contribute to this project, you might want to install only the project's dependencies in your virtualenv.

You can install them using the requirements.txt file in the following way:

pip install -r requirements.txt

Usage

Before running the web application for the first time, follow these steps:

  1. Customize config.ini if needed.

  2. Create the database and populate it with the available ports. Generally you should only do this once.

    cd src/ptinstancemanager; python run.py -createdb

Then, simply run the web server:

cd src/ptinstancemanager; python run.py

The API will be then available in the port 5000. If you go to the root of the application, you will be automatically redirected to a user friendly description of the API.

Advanced usage

For a production ready installation using which uses Nginx, Gunicorn and Supervisor, check this project.

Acknowledgements

This API is being developed as part of the FORGE project.

pt-instances-management's People

Contributors

gomezgoiri avatar

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.