Code Monkey home page Code Monkey logo

3111931's Introduction

How to run 3111931

Requirements

python >= 3.6.13 requests >= 2.25.1

These instructions are targeted to macOS or Linux

Running the server test api server

  1. Ensure that you have docker installed on your system.

  2. The BADSEC server will run on port 8888. You can start it by running in a shell:

    docker run --rm -p 8888:8888 adhocteam/noclist

  3. If all goes well you should see Listening on http://0.0.0.0:8888.

Setting up the Python application

  1. Ensure that you have Python installed on your system.
  2. Clone the 3111931 github repository.
  3. Change directories into the 3111931 directory.
  4. Create a virtual environment. python -m venv 3111931-env
  5. Activate virtual environment. source 3111931-env/bin/activate
  6. Install the equirements for 3111931. pip install -r requirements.txt

Running 3111931

  1. Ensure that the BADSEC docker container is running and listening on http://0.0.0.0:8888.
  2. Open a command prompt and change directories into the 3111931 repository that you cloned during setup.
  3. Run the application. python noc_list.py
  4. You should see a JSON formatted string to stdout. ["9757263792576857988", "7789651288773276582", "16283886502782682407", "...etc"]

Running the tests for 3111931

  1. Ensure that the BADSEC docker container is running and listening on http://0.0.0.0:8888.
  2. Open a command prompt and change directories into the 3111931 repository that you cloned during setup.
  3. Run the test script. python test_noc_list_api.py

3111931's People

Contributors

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