Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.86 KB

README.md

File metadata and controls

51 lines (36 loc) · 1.86 KB

Flask Homecloud

Python Flask HTML CSS Boostrap Sqlite

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.

Features

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.

Usage

First you need to create a virtual environment. After that, you should:

  1. Clone the repository from Github and switch to the new directory:

    git clone https://github.com/SSleimann/flask-homecloud.git
    cd flask-homecloud
  2. Activate the virtual enviroment and install project dependencies:

    pip install -r requirements.txt
  3. Set environment variables if you want to set debug mode:

    export FLASK_DEBUG=1
    export FLASK_APP=homecloud.app
  4. Now you can run the server:

    flask run

    Or to use it on the network:

    flask run -p 8000 -h 0.0.0.0