mtbutler07 / netbox-heroku

Netbox deployment using Heroku

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Netbox Deployment on PaaS using Heroku

This repository represents a deployment of Netbox using a PaaS solution.

Netbox is an open source web application designed to help manage and document computer networks.

Setup

Setup a Heroku account, create a new app, and select the PostgreSQL and Redis add-ons

Clone this repo

$ git clone https://github.com/mtbutler07/netbox-heroku.git

Modify the .sample.env file and rename to it .env

$ mv .sample.env .env
$ vi .sample.env

Usage

Use the provided setup script to clone Netbox v2.6.2, extract/clean up directories, add optional dependencies, and move configuration/settings files to the proper directory, and generate the static files.

$ chmod +x ./setup.sh
$ ./setup.sh

Use the Python 3 package manager pip to install the requirements.

$ python3 -m pip install -r requirements.txt -U --user

Deploy to Heroku

$ git push heroku master

Credits

Initial inspiration for this PoC came from Sorah's repo.

About

Netbox deployment using Heroku


Languages

Language:Python 48.8%Language:JavaScript 21.7%Language:HTML 16.1%Language:CSS 13.4%Language:Shell 0.0%