Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 1.01 KB

README.md

File metadata and controls

18 lines (15 loc) · 1.01 KB

Nginx-Indexer

Indexes our Nginx server and creates a homepage for its locations.

Screenshots

A screenshot of Nginx-Indexer running on our server A screenshot of Nginx-Indexer running on our server

Installation

  1. Clone this repository
  2. Install the requirements (you can use pip install -r requirements.txt to automatically install all of them)
  3. Edit CONFIGURATION_PATHS in main.py like so: Add the paths to every Nginx configuration file that initializes a location you would like indexed (using os.path.join() is recommended to guarantee the paths are correct)
  4. Run app.py and visit localhost:5000. The site should be live.
  5. If you would like to host this page on your own Nginx server's root, we reccomend using gunicorn (should automatically be installed from requirements.txt).

Credits

This project was created and installed onto the server by Daniel Ivanovich in March of 2019.