Skip to content

Latest commit

 

History

History
94 lines (64 loc) · 1.14 KB

File metadata and controls

94 lines (64 loc) · 1.14 KB

Simple Web File Manager

It's a simple web file manager created for simple upload directories and files or sharing file between computers.

Tech Stack

Frontend: React

Backend: Python 3.9, fastAPI

Run Locally

Clone the project

  git clone https://github.com/n2oneProgrammer/webFileManager.git

Go to the project directory

  cd webFileManager

Run Backend

Go to server directory

  cd backend

Install dependencies

  pip install -r requirenments.txt

Set environment variable

  export NODE_ENV=production
  export ADMIN_PASS_SHA256=XXXX
  export ADMIN_LOGIN=XXXX
  export SECRET_KET=XXXXX
  set NODE_ENV=production
  set ADMIN_PASS_SHA256=XXXX
  set ADMIN_LOGIN=XXXX
  set SECRET_KET=XXXXX

Start the server

  uvicorn main:app --host 0.0.0.0 --port 8000

Run Frontend

Go to Frontend directory

  cd frontend

Install dependencies

  npm install

Start the frontend server

  npm run dev

Deployment

To deploy this project run On Linux

  source build.sh

On Windows

  .\build.bat