Skip to content

Latest commit

 

History

History
95 lines (77 loc) · 3.6 KB

README.md

File metadata and controls

95 lines (77 loc) · 3.6 KB

FileSublime

Product Vision Statement

For HPE support users who need to download specific HPE system files, FileSublime is a file browser that provides access to raw support files, previously only indirectly available through other support tools. Our product is a simple and direct way to retrieve raw data.

Technologies Used

Getting Started

FileSublime’s front end interface is built using Bootstrap, JQuery and DataTables. These are included in this repository. FileSublime’s back end is built upon Django and PostgreSQL. These you will need to download and setup yourself on your machine. See the Getting Started page on how to set up FileSublime.

File structure

├── src
    ├── app
    |   ├── FileBrowser
    |   |   ├── Filebrowser
    |   |   |   ├── settings.py 
    |   |   |   ├── urls.py 
    |   |   ├── browser
    |   |   |   ├── management/commands
    |   |   |   ├── migrations
    |   |   |   ├── static
    |   |   |   ├── templates/browser
    |   |   |   ├── models.py
    |   |   |   ├── views.py
    |   |   |   ├── tests.py
    |   |   ├── manage.py
Folder/File Contains
settings.py Django settings
urls.py URL scheme and configuration
management/commands Custom scripts for addings users to database or importing a data dump
migrations PostgreSQL database creation script
static CSS, images and Javascript files
templates/browser Django templates for all pages
models.py Database models for FileSublime
view.py Django Views that return web responses
tests.py Whitebox and Blackbox tests for FileSublime
manage.py Helps run all commands like runserver

Commands:

Prerequisite
Must be in the below directory:

$ cd src/app/FileBrowser

Import Files

$ python3 manage.py importJson [app] [TargetFolder]

Add User

$ python3 manage.py add_User [tenant name] [password] admin  

Screenshots

Contributers/Team

Managed By: Yueying Liu