Skip to content
/ Hadark Public

SYSU - Software Engineering Training - course project

Notifications You must be signed in to change notification settings

CuiH/Hadark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dependencies:

pip install django
pip install djangorestframework
apt-get install libmysqld-dev
apt-get install python-dev
pip install mysql-python
pip install django-cors-headers
pip install PyMysql

pre works

mysql> create database hadark;
python manage.py migrate
mysql> insert into file(name, file_type, permission) values("/", "directory", "none");
mysql> insert into file(name, file_type, permission, parent_id) values("user", "directory", "none", 1);  -- the parent_id should be the id of the above item

run:

python manage.py runserver

About

SYSU - Software Engineering Training - course project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published