Django powered files server, successor of HomeDrive
- Django 4.2
- redis
- bootstrap
- celery
- gunicorn
- nginx
- Accounts authentication.
- Storage space limits.
- AJAX files uploading.
- Celery powered background processes:
.zip
archives extraction.- directories compression.
- videos conversion to be compatible with HTML5 video players.
- Grouping files using directories.
- Sharing directories / files to other users.
- Downloading files / directories.
- Files preview.
- Generate
.env
config file
python3 generate_dotenv.py
- Run dev docker services.
sudo docker compose -f docker-compose-dev.yml up
- Run celery and celery beat workers
sh scripts/celery_entrypoint.sh
sh scripts/celery_beat_entrypoint.sh
- Generate
.env
config file and change config values:DB_PATH
- database path.LOGS_PATH
- logs path.STORAGE_PATH
- storage path.ALLOWED_HOSTS
- comma separated host names.
python3 generate_dotenv.py
- Run docker services.
sudo docker compose up -d
Bash into web app container.
sudo docker container exec -it io_app bash
- Create superuser:
python3 manage.py createsuperuser
- Create regular user:
python3 manage.py create_user
- Change user storage space:
python3 manage.py set_user_private_storage_space
App contains some example tests for available apps. To run them:
python3 manage.py test