Giter Club home page Giter Club logo

pydrive-project's Introduction

Contributors ๐Ÿค–

PSC project

Semester : 4

Division : D

pydrive-project

File storage & sharing system (like google drive) built with Django (python). Feature rich drive storage system to manage and backup your file in cloud. can upload any file in drive.

Sharing with other people

share files and folders with other people with easy steps.

Vault

Hide your important and confidential files in vault. need password to open the vault.

Modern material design

Easily manage files with better and simple ui.

Screenshots

Login / SIgnup

Screenshot (18)

Dashboard

Screenshot (17)

Upload Files

Screenshot (20)

Vault

Screenshot (19)

Setup

install Django

pip install Django

You need to install following libraries to make project work properly.

1. pymysql

pip install pymysql

After installation, Now go to following path in your computer:

C:\Users\ {Your-username-folder} \AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pymysql\

Replace __init__.py file with uploaded pymysql\__init__.py file.(You can find new init.py file in pymysql folder)

2.smtplib

3.hashlib

4.zipfile

Database setup

Import given pydrive_db.sql file in PhPMyAdmin.(MySql Database)

Recommended to refer https://docs.djangoproject.com/en/3.0/topics/migrations/ if any error occurred.

Now setup is completed. follow the below link if any problem occurred.

####For testing purpose use following account:

1.email address: [email protected], password:12345678, vault password:1234

2.email address: [email protected], password:12345678

https://docs.djangoproject.com/en/3.0/intro/tutorial01/

pydrive-project's People

Contributors

vaibhav1929 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pydrive-project's Issues

email verification

Hi, thanks for creating a cool resource. Can I tell you why the verification code doesn't come in, thank you

Help

I have xampp server for mysql, I started xampp and then both apache and mysql
then opened phpmyadmin, I created database pydrive_db and imported the database..

"Installed django 3 and pymysql and then in pymysl folder I replaced given init.py file....

then I run commands
python manage.py makemigrations
but there errors coming
first it came

operation error : can't connect to sql server

now its new django.db.utils.InternalError: (1932, "Table 'pydrive_db.django_migrations' doesn't exist in engine")

if there is any other requirement to be installed or any thing please suggest and also...
please add some more detail, it would be helpful..
thank you...

help

I'm using python 3.8

this issue is coming for makemigraions, migrate and also for runserver

python3 manage.py makemigrations

Traceback (most recent call last):
File "manage.py", line 21, in
main()
File "manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "/home/sandeep/.local/lib/python3.8/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/home/sandeep/.local/lib/python3.8/site-packages/django/core/management/init.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/sandeep/.local/lib/python3.8/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/sandeep/.local/lib/python3.8/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/home/sandeep/.local/lib/python3.8/site-packages/django/core/management/base.py", line 83, in wrapped
res = handle_func(*args, **kwargs)
File "/home/sandeep/.local/lib/python3.8/site-packages/django/core/management/commands/makemigrations.py", line 101, in handle
loader.check_consistent_history(connection)
File "/home/sandeep/.local/lib/python3.8/site-packages/django/db/migrations/loader.py", line 283, in check_consistent_history
applied = recorder.applied_migrations()
File "/home/sandeep/.local/lib/python3.8/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
if self.has_table():
File "/home/sandeep/.local/lib/python3.8/site-packages/django/db/migrations/recorder.py", line 56, in has_table
return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
File "/home/sandeep/.local/lib/python3.8/site-packages/django/db/backends/base/base.py", line 256, in cursor
return self._cursor()
File "/home/sandeep/.local/lib/python3.8/site-packages/django/db/backends/base/base.py", line 233, in _cursor
self.ensure_connection()
File "/home/sandeep/.local/lib/python3.8/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
self.connect()
File "/home/sandeep/.local/lib/python3.8/site-packages/django/db/backends/base/base.py", line 197, in connect
self.init_connection_state()
File "/home/sandeep/.local/lib/python3.8/site-packages/django/db/backends/mysql/base.py", line 231, in init_connection_state
if self.features.is_sql_auto_is_null_enabled:
File "/home/sandeep/.local/lib/python3.8/site-packages/django/utils/functional.py", line 80, in get
res = instance.dict[self.name] = self.func(instance)
File "/home/sandeep/.local/lib/python3.8/site-packages/django/db/backends/mysql/features.py", line 82, in is_sql_auto_is_null_enabled
cursor.execute('SELECT @@SQL_AUTO_IS_NULL')
File "/home/sandeep/.local/lib/python3.8/site-packages/django/db/backends/utils.py", line 103, in execute
sql = self.db.ops.last_executed_query(self.cursor, sql, params)
File "/home/sandeep/.local/lib/python3.8/site-packages/django/db/backends/mysql/operations.py", line 146, in last_executed_query
query = query.decode(errors='replace')
AttributeError: 'str' object has no attribute 'decode'

Help

Could you plz tell me what requirements/dependencies need to be installed and which python version you used during this project?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.