This is a web application that allows its users to save files locally. he application is written in Flask, a Python framework used to create web applications, and uses SQLite as its database.
The application allows users to upload, download, create, rename, delete, share files and folders with other users. Users can log in and create an account to save their files in the cloud. Files are saved locally, can be used on a home network.
First you need to create a virtual environment. After that, you should:
-
Clone the repository from Github and switch to the new directory:
git clone https://github.com/SSleimann/flask-homecloud.git cd flask-homecloud
-
Activate the virtual enviroment and install project dependencies:
pip install -r requirements.txt
-
Set environment variables if you want to set debug mode:
export FLASK_DEBUG=1 export FLASK_APP=homecloud.app
-
Now you can run the server:
flask run
Or to use it on the network:
flask run -p 8000 -h 0.0.0.0