项目作者: mtbutler07

项目描述 :
Netbox deployment using Heroku
高级语言: Python
项目地址: git://github.com/mtbutler07/netbox-heroku.git
创建时间: 2019-08-17T20:32:51Z
项目社区:https://github.com/mtbutler07/netbox-heroku

开源协议:

下载


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

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

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

  1. $ mv .sample.env .env
  2. $ 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.

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

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

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

Deploy to Heroku

  1. $ git push heroku master

Credits

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