Skip to content

ajayat/nebula-server-directories

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nebula Server Directories

This site can be used to list folder and subdirectories in your server :

Example folder

Python

It's required to have Python 3.8 or more installed on your system. Download Python

Installation using Pipenv

Install pipenv dependencies:

python3 -m pip install pipenv

Now, you can create an empty .venv directory and running pipenv. It will install packages in the virtual environment (recommended).

pipenv install

Configuration

You have to write the configuration in the config.toml file, here is an example:

url = "http://localhost:4242/"

[user]
    name = "Adrien"

[folders]
    [folders.Documents]
        path = "/home/adrien/Documents"

    [folders.Images]
        path = "/home/adrien/Images"

The folders option are used to show the root points for the listing of directories.

Deployment

You can specify the host and the port for the flask server:

flask run -h localhost -p 4242

Now you can see your site at http://localhost:4242/

About

A small site to list shared directories, used for https://github.com/prepas-mp2i/nebula-network

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published