Skip to content

vikramthyagarajan/web-drive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Drive

A simplified Google Drive clone built on Django and React to help you maintain you personal data cloud

Homepage

Installation

  1. Clone this repository

  2. Enter the project folder, set up python3, then run

python -m pip -r requirements.txt
  1. Set up postgresql, and create a database under user postgres with the database name webdrive
psql -u postgres
create database webdrive;

If you'd like to use a different user, or a different database name, make sure to make changes in settings.py

  1. Run migrations
python manage.py migrate
  1. Seed data into db
python manage.py loaddata src/fixtures/seed.json
  1. Start the server
python manage.py runserver
  1. Open another terminal session into the client folder
cd client
  1. If you don't have latest node (14+) then you can change directory to the client/build folder and start a static server from there and try out the application
cd build
npm install -g static-server
static-server -p 3000 . -n index.html
  1. Continue the installation and install dependencies in the client folder
npm install
  1. Run the web client in your browser using this script
npm run dev
  1. Visit https://localhost:3000/ in your browser

  2. WebDrive comes with a cron script that periodically clears all text files that you have uploaded in the system. To start the task, run

python manage.py runcrons

Usage

List folders

List all files and folders

Add file/folder

Add files and folders

Search files and folder

Search through all files and folders

Move file and folder

Move files within folders

Delete files and folders

Delete files and folders by clicking the x

Troubleshooting/Contact

You can write to me here on github or on my email at [email protected]

About

A Web clone of Google Drive in React and Django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published