Giter Site home page Giter Site logo

network-inventory / ni-production Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 28 KB

This is the main repository for Network Inventory project. It combines the ni-backend and the ni-frontend into a production ready setup.

License: GNU General Public License v3.0

network-inventory

ni-production's Introduction

Network Inventory

I started this project in order to have solution for keeping an inventory over my various servers and other network equipment.

The idea later expanded to be an inventory for multiple customers. In addition the customers should be able to access their inventory but only see the items they own.

This project consists of the backend in Django and the frontend written in VueJS.

Production Setup

  1. Clone the repository
  2. Copy the .env-example file to .env and change the POSTGRES_PASSWORD and DJANGO_SECRET_KEY variables to something secure.
  3. Replace the value for NI_HOST to the domain of your website. If you want to debug the backend NI_MODE to development.
  4. Run docker-compose up and connect to domain defined in NI_HOST

Environment Variables

To customise the application in the Docker container you can use environment variables in the docker-compose.yml file. Currently the following variables are supported.

  • DJANGO_SECRET_KEY the secret key is mandatory, otherwise the application doesn't run. Make sure that it is some long random string.
  • DJANGO_SETTINGS_MODULE the path to the settings file to use in the container. This requires a dotet syntax. The default is network_inventory.settings.docker.
  • NI_HOST the domain from you serve the application. This is required in order for the backend to work properly.
  • NI_MODE the state of the application, should be production for a production environment.

Documentation

Currently there isn't a lot of documentation present.

ni-production's People

Contributors

nebucatnetzer avatar

Watchers

 avatar  avatar

Forkers

novski

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.