Skip to content

hug58/HugFiles-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HugFiles Server

file server with client synchronization using Flask, Socketio, Celery and Redis. Like dropbox

INSTALL DEPENDENCIES

pip install -r requirements.txt

Redis is a broker server

More details about redis Redis

LOAD ENV

export REDIS_HOST="127.0.0.1:6379"
export CELERY_BROKER_URL="redis://localhost:6379/0"
export CELERY_RESULT_BACKEND="redis://localhost:6379/1"
export UPLOAD_FOLDER="data/files"
export SECRET_KEY="super secret key"

RUN TASK CELERY

#load your envirotments
source .env
celery worker -A main.celery --loglevel=info

RUN SERVER

python main.py 

TODO

  • Create file
  • Modified file (content)
  • Sync with folders
  • Send notification to all clients for changes of files
  • Client terminal
  • Client web
  • Delete File
  • Modified Name file
  • Authentication
  • Tests