Skip to content

Schenk75/MyCloud

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mycloud

Requirements

  • Python 3.7,
  • Django 3.0.3
  • MySQL
  • PyMySQL 0.9.3

Run the code

Initialize Database

mysql -u root -p
CREATE DATABASE cloud;
python manage.py makemigrations --empty index
python manage.py makemigrations
python manage.py migrate

Modify Encode

this step is necessary to avoid encode error

use cloud;
ALTER TABLE index_fileinfo CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE index_folderinfo CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE index_shareinfo CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;

Start

server

python manage.py runserver 0.0.0.0:8000  

client

cd ./qt
python ./main.py

About

Homework of IS305

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.7%
  • JavaScript 5.0%
  • CSS 0.3%