Go to file
Andreas Zweili 521aaef946 run django with gunicorn 2019-08-11 18:37:37 +02:00
docs add the large version of the diagramm 2019-07-24 19:56:55 +02:00
network_inventory run django with gunicorn 2019-08-11 18:37:37 +02:00
requirements run django with gunicorn 2019-08-11 18:37:37 +02:00
.gitignore add a temp file to mark the first run 2019-08-10 15:03:03 +02:00
Dockerfile split the requirements and settings 2019-07-13 12:37:58 +02:00
LICENSE Initial commit 2017-12-21 23:11:33 +01:00
Makefile add task to create a local developemenet environment 2019-08-10 15:14:36 +02:00
README.md update the readme 2019-08-11 18:35:41 +02:00
docker-compose.yml move some settings to environment variables 2019-08-10 16:50:35 +02:00
production.sh run django with gunicorn 2019-08-11 18:37:37 +02:00
run.sh add a temp file to mark the first run 2019-08-10 15:03:03 +02:00

README.md

network_inventory

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

Setup

  1. Clone the repository
  2. Now decide if you want to develop fully locally or inside the docker container. Locally you'll use SQlite for the database and inside the Docker container you'll use Postgres for the database. For the moment there aren't any features implemented which require Postgres. However this might change in the future and SQlite is not supported for production.

Local Setup

  1. Run make local to create the virtual environment for developemenet http://localhost:8000 . You're now all set to start developing.

Docker Setup

  1. Run make to start the development server. You can access it at http://localhost:8000 . You're now all set to start developing.
    If you need to run migrations you can simply restart the Docker container.

Todos

  • Create an Apache configuration
  • configure htaccess or something similar
  • extend the CSS
    • A more centered layout would be nice
    • Maybe some colours
  • include a RAID calculator
  • calculate the used space on a host Means calculate the size all the VMs would use if they were thick.
  • Move the lists to their own page. Since I have more devices than I thought it would provide a better overview than one big list.
  • Add a Counter to the RAM Modules
  • Create an abstract company class
  • Create Customer and a Manufacturer sub class Those two would be based on the company class. I'm currently not sure how I should handle the case where a company is both a customer and a manufacturer.
  • Create a NET category where a device can live in. This NET Category should display it's IP range, Subnet mask and show it's DHCP range if one is configured.
  • Create class DeviceInNet This class shows the relationship between the device and a NET. An attribute of a DeviceInNet should be an IP address.
  • Recreate the RM in draw.io The Dia RM is okay but not really that great. Draw.io would give a better result.

Developemenet

For a detailed documentation of the source have a look at the documentation.