Skip to content

Commit

Permalink
start deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mtianyan committed Jul 25, 2020
1 parent 3b0c1e6 commit 27f9b98
Show file tree
Hide file tree
Showing 178 changed files with 1,289 additions and 27 deletions.
50 changes: 29 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,43 @@
# Mxonline3 在线教育(Django3.0 + Xadmin 后台管理+ Ueditor 富文本编辑器)
# Django3.0 + DjangoRestful Framework + Ant Design Pro V4 开发的在线教育网站及后台管理

[![Build Status](https://travis-ci.org/mtianyan/hexoBlog-Github.svg?branch=master)](https://travis-ci.org/mtianyan/hexoBlog-Github)
[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://opensource.org/licenses/mit-license.php)

使用Python3.7与Django3.0开发的在线教育平台网站: http://mxonline.mtianyan.cn
- 在线体验地址: https://mooc.funpython.cn/xadmin
- 首页地址: https://mooc.funpython.cn/

> 已测试xadmin, DjangoUeditor Django3.0下功能可用。 如有3.0使用时触发Bug,可请进群联系。欢迎加入 funpython.cn QQ群:211599322
## 运行指南:

## 如何开始使用?
### docker运行

```
git clone https://github.com/mtianyan/Mxonline3.git
cd Mxonline3
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
git clone https://github.com/mtianyan/OnlineMooc.git
cd OnlineMooc
docker-compose up
# 导入数据
docker exec -it mxonline3_mtianyan_mysql_1 bash
mysql -u root -p -D mxonline3 < sql/mxonline3.sql
# 输入密码: mtianyanroot
```

use the address: http://127.0.0.1:8000/

## TODO:
### 本地环境运行

后端项目运行:

## 致谢 [原版视频课程地址:](https://coding.imooc.com/learn/list/78.html)

## 关于我
```
git clone https://github.com/mtianyan/OnlineMooc.git
cd OnlineMooc
pipenv shell
pip install -r requirements.txt
**欢迎star项目!谢谢!你的关注支持是我继续分享前进的动力**
# Navicat创建数据库,导入mxonline3.sql
# 修改settings.py 中数据库密码
## 求打赏鼓励
python manage.py runserver
```

很高兴我写的文章(或我的项目代码)对你有帮助,请我吃包辣条吧!
很高兴我的项目代码或许对你有帮助,请我吃包辣条或喝瓶可乐吧!

微信打赏:

Expand All @@ -42,3 +46,7 @@ use the address: http://127.0.0.1:8000/
支付宝打赏:

![mark](http://myphoto.mtianyan.cn/blog/180302/gDlBGemI60.jpg?imageslim)




2 changes: 1 addition & 1 deletion conf/uwsgi.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[uwsgi]
module = VueDjangoFrameWorkShop.wsgi
module = Mxonline3.wsgi
master = true
processes = 10
socket = 0.0.0.0:8000
Expand Down
Binary file added db/#ib_16384_0.dblwr
Binary file not shown.
Binary file added db/#ib_16384_1.dblwr
Binary file not shown.
Binary file added db/#innodb_temp/temp_1.ibt
Binary file not shown.
Binary file added db/#innodb_temp/temp_10.ibt
Binary file not shown.
Binary file added db/#innodb_temp/temp_2.ibt
Binary file not shown.
Binary file added db/#innodb_temp/temp_3.ibt
Binary file not shown.
Binary file added db/#innodb_temp/temp_4.ibt
Binary file not shown.
Binary file added db/#innodb_temp/temp_5.ibt
Binary file not shown.
Binary file added db/#innodb_temp/temp_6.ibt
Binary file not shown.
Binary file added db/#innodb_temp/temp_7.ibt
Binary file not shown.
Binary file added db/#innodb_temp/temp_8.ibt
Binary file not shown.
Binary file added db/#innodb_temp/temp_9.ibt
Binary file not shown.
2 changes: 2 additions & 0 deletions db/auto.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[auto]
server-uuid=656a9db6-ce75-11ea-96c5-0242ac110005
Binary file added db/binlog.000001
Binary file not shown.
Binary file added db/binlog.000002
Binary file not shown.
Binary file added db/binlog.000003
Binary file not shown.
Binary file added db/binlog.000004
Binary file not shown.
4 changes: 4 additions & 0 deletions db/binlog.index
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
./binlog.000001
./binlog.000002
./binlog.000003
./binlog.000004
Binary file added db/ca-key.pem
Binary file not shown.
Binary file added db/ca.pem
Binary file not shown.
Binary file added db/client-cert.pem
Binary file not shown.
Binary file added db/client-key.pem
Binary file not shown.
266 changes: 266 additions & 0 deletions db/ib_buffer_pool
Original file line number Diff line number Diff line change
@@ -0,0 +1,266 @@
4294967279,280
4294967278,273
4294967279,279
4294967293,131
4294967293,130
4294967293,129
4294967293,128
4294967293,127
4294967293,126
4294967293,125
4294967293,124
4294967293,123
4294967293,122
4294967293,121
4294967293,120
4294967293,119
4294967293,118
4294967293,117
4294967293,116
4294967293,115
4294967293,114
4294967293,113
4294967293,112
4294967293,111
4294967293,110
4294967293,109
4294967293,108
4294967293,107
4294967293,106
4294967293,105
4294967293,104
4294967293,103
4294967293,102
4294967293,101
4294967293,100
4294967293,99
4294967293,98
4294967293,97
4294967293,96
4294967293,95
4294967293,94
4294967293,93
4294967293,92
4294967293,91
4294967293,90
4294967293,89
4294967293,88
4294967293,87
4294967293,86
4294967293,85
4294967293,84
4294967293,83
4294967293,82
4294967293,81
4294967293,80
4294967293,79
4294967293,78
4294967293,77
4294967293,76
4294967293,75
4294967293,74
4294967293,73
4294967293,72
4294967293,71
4294967293,70
4294967293,69
4294967293,68
4294967293,67
4294967293,66
4294967293,65
4294967293,64
4294967293,63
4294967293,62
4294967293,61
4294967293,60
4294967293,59
4294967293,58
4294967293,57
4294967293,56
4294967293,55
4294967293,54
4294967293,53
4294967293,52
4294967293,51
4294967293,50
4294967293,49
4294967293,48
4294967293,47
4294967293,46
4294967293,45
4294967293,44
4294967293,43
4294967293,42
4294967293,41
4294967293,40
4294967293,39
4294967293,38
4294967293,37
4294967293,36
4294967293,35
4294967293,34
4294967293,33
4294967293,32
4294967293,31
4294967293,30
4294967293,29
4294967293,28
4294967293,27
4294967293,26
4294967293,25
4294967293,24
4294967293,23
4294967293,22
4294967293,21
4294967293,20
4294967293,19
4294967293,18
4294967293,17
4294967293,16
4294967293,15
4294967293,14
4294967293,13
4294967293,12
4294967293,11
4294967293,10
4294967293,9
4294967293,8
4294967293,7
4294967293,6
4294967293,5
4294967293,4
4294967293,3
4294967293,2
4294501266,0
4294501265,0
4294501264,0
4294501263,0
4294501262,0
4294501261,0
4294501260,0
4294501259,0
4294501258,0
4294501257,0
4294967293,0
4294967278,111
4294967278,235
4294967278,234
4294967278,110
4294967278,232
4294967278,109
4294967278,233
4294967278,231
4294967278,108
4294967278,230
4294967278,107
4294967278,229
4294967278,228
4294967278,106
4294967278,227
4294967278,226
4294967278,105
4294967278,225
4294967278,224
4294967278,104
4294967278,223
4294967278,222
4294967278,103
4294967278,221
4294967278,220
4294967278,102
4294967278,219
4294967278,218
4294967278,101
4294967278,217
4294967278,216
4294967278,100
4294967278,215
4294967278,214
4294967278,99
4294967278,213
4294967278,212
4294967278,98
4294967278,211
4294967278,210
4294967278,97
4294967278,209
4294967278,96
4294967278,208
4294967278,95
4294967278,207
4294967278,94
4294967278,206
4294967278,93
4294967278,205
4294967278,92
4294967278,204
4294967278,91
4294967278,203
4294967278,90
4294967278,202
4294967278,89
4294967278,201
4294967278,87
4294967278,200
4294967278,86
4294967278,199
4294967278,85
4294967278,198
4294967278,84
4294967278,197
4294967278,83
4294967278,196
4294967278,82
4294967278,195
4294967278,81
4294967278,194
4294967278,80
4294967278,193
4294967278,79
4294967278,192
4294967278,78
4294967278,191
4294967278,77
4294967278,190
4294967278,76
4294967278,189
4294967278,75
4294967278,188
4294967278,74
4294967278,187
4294967278,73
4294967278,186
4294967278,72
4294967278,185
4294967278,71
4294967278,184
4294967278,70
4294967278,183
4294967278,69
4294967278,182
4294967278,68
4294967278,181
4294967278,67
4294967278,180
4294967278,66
4294967278,179
4294967278,65
4294967278,178
4294967278,64
4294967278,177
4294967278,63
4294967278,176
4294967278,62
4294967278,175
4294967278,61
4294967278,173
4294967278,60
4294967278,172
4294967278,59
4294967278,171
4294967278,58
4294967278,170
4294967278,57
4294967278,169
4294967278,56
4294967278,168
Binary file added db/ib_logfile0
Binary file not shown.
Binary file added db/ib_logfile1
Binary file not shown.
Binary file added db/ibdata1
Binary file not shown.
Binary file added db/ibtmp1
Binary file not shown.
Binary file added db/mxonline3/auth_group.ibd
Binary file not shown.
Binary file added db/mxonline3/auth_group_permissions.ibd
Binary file not shown.
Binary file added db/mxonline3/auth_permission.ibd
Binary file not shown.
Binary file added db/mxonline3/captcha_captchastore.ibd
Binary file not shown.
Binary file added db/mxonline3/courses_course.ibd
Binary file not shown.
Binary file added db/mxonline3/courses_courseresource.ibd
Binary file not shown.
Binary file added db/mxonline3/courses_lesson.ibd
Binary file not shown.
Binary file added db/mxonline3/courses_video.ibd
Binary file not shown.
Binary file added db/mxonline3/django_admin_log.ibd
Binary file not shown.
Binary file added db/mxonline3/django_content_type.ibd
Binary file not shown.
Binary file added db/mxonline3/django_migrations.ibd
Binary file not shown.
Binary file added db/mxonline3/django_session.ibd
Binary file not shown.
Binary file added db/mxonline3/operation_coursecomments.ibd
Binary file not shown.
Binary file added db/mxonline3/operation_userask.ibd
Binary file not shown.
Binary file added db/mxonline3/operation_usercourse.ibd
Binary file not shown.
Binary file added db/mxonline3/operation_userfavorite.ibd
Binary file not shown.
Binary file added db/mxonline3/operation_usermessage.ibd
Binary file not shown.
Binary file added db/mxonline3/organization_citydict.ibd
Binary file not shown.
Binary file added db/mxonline3/organization_courseorg.ibd
Binary file not shown.
Binary file added db/mxonline3/organization_teacher.ibd
Binary file not shown.
Binary file added db/mxonline3/users_banner.ibd
Binary file not shown.
Binary file added db/mxonline3/users_emailverifyrecord.ibd
Binary file not shown.
Binary file added db/mxonline3/users_userprofile.ibd
Binary file not shown.
Binary file added db/mxonline3/users_userprofile_groups.ibd
Binary file not shown.
Binary file not shown.
Binary file added db/mxonline3/xadmin_bookmark.ibd
Binary file not shown.
Binary file added db/mxonline3/xadmin_log.ibd
Binary file not shown.
Binary file added db/mxonline3/xadmin_usersettings.ibd
Binary file not shown.
Binary file added db/mxonline3/xadmin_userwidget.ibd
Binary file not shown.
Binary file added db/mysql.ibd
Binary file not shown.
Binary file added db/mysql/general_log.CSM
Binary file not shown.
Empty file added db/mysql/general_log.CSV
Empty file.
1 change: 1 addition & 0 deletions db/mysql/general_log_202.sdi
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"mysqld_version_id":80020,"dd_version":80017,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"general_log","mysql_version_id":80020,"created":20200725125019,"last_altered":20200725125019,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"event_time","type":18,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":26,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":6,"datetime_precision_null":0,"has_no_default":false,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAA==","default_value_utf8_null":false,"default_value_utf8":"CURRENT_TIMESTAMP(6)","default_option":"CURRENT_TIMESTAMP(6)","update_option":"CURRENT_TIMESTAMP(6)","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","column_key":1,"column_type_utf8":"timestamp(6)","elements":[],"collation_id":8,"is_explicit_collation":false},{"name":"user_host","type":25,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":16777215,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","column_key":1,"column_type_utf8":"mediumtext","elements":[],"collation_id":33,"is_explicit_collation":false},{"name":"thread_id","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","column_key":1,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":33,"is_explicit_collation":false},{"name":"server_id","type":4,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":4,"char_length":10,"numeric_precision":10,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAA==","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","column_key":1,"column_type_utf8":"int unsigned","elements":[],"collation_id":33,"is_explicit_collation":false},{"name":"command_type","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":5,"char_length":192,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","column_key":1,"column_type_utf8":"varchar(64)","elements":[],"collation_id":33,"is_explicit_collation":false},{"name":"argument","type":25,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":6,"char_length":16777215,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","column_key":1,"column_type_utf8":"mediumblob","elements":[],"collation_id":63,"is_explicit_collation":true}],"schema_ref":"mysql","se_private_id":18446744073709551615,"engine":"CSV","last_checked_for_upgrade_version_id":0,"comment":"General log","se_private_data":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":33}}
Binary file added db/mysql/slow_log.CSM
Binary file not shown.
Empty file added db/mysql/slow_log.CSV
Empty file.
Loading

0 comments on commit 27f9b98

Please sign in to comment.