A web server to share files easily made with flask
-
Install necessary libraries :
pip -r install req.txt -
Create database :
python manage.py init -
Create Admin Account :
python manage.py createadmin -
Create Normal User Account :
python manage.py createuser -
Start Server (auto host & port) :
python app.py
python app.py * <port>
python app.py * 8888 -
Start Server at localhost :
python app.py localhost
python app.py localhost <port>
python app.py localhost 8888 -
Start Server at network :
python app.py <network-ip> <port>
python app.py 192.168.0.101
python app.py 192.168.0.101 8888 -
Change default port, folder names, configurations:
Editconfig.py
- To share text/files in share zone, you need to be logged on.
- The default folder name is "DOWNLOADZONE". PLace your files at that folder to show in Download Zone.
- Just upload anything to the server folder named "UPLOADZONE" (default).