Skip to content

tomi3-11/miniGD

Repository files navigation

Mini File storage like Google drive

Project Structure

.
├── app
│   ├── blueprints
│   │   ├── auth
│   │   └── home
│   ├── __init__.py
│   ├── models.py
├── config.py
├── documentation
│   └── auth.md
├── instance
│   └── data.db
├── main.py
├── migrations
├── pyproject.toml
├── README.md
├── requirements.txt
├── run.py
└── uv.lock

13 directories, 20 files

How to run the system

Without Docker

  1. Create a virtual environment
python -m venv .venv
OR 
uv venv # if uv is installed
  1. Activate the vitual env
source .venv/bin/activate # linux/MacOs
.venv\Scripts\activate # windows
  1. Install required dependencies.
uv sync
  1. run the system
flask run

With Docker

  1. Build images and run containers
docker compose up -d --build
  1. Check logs
docker logs <container-name>
  1. Stop the container
docker compose down

Running tests

  1. Make sure to be in the root directory
  2. Run the following commands
pytest -v 

# If you get import errors, try running it as a script
python -m pytest -v
  1. Check logs

documented by: Tom

About

This is a mini Google drive with locally hosted object storage, using minIO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors