Skip to content

Online education website 慕课在线学习系统示例

License

Notifications You must be signed in to change notification settings

SzLeaves/mooc_example

Repository files navigation

mooc example

慕课在线学习平台,使用Django作为后端

Dependencies 依赖

可使用pip install -r requirements.txt直接安装依赖

  • Django
  • django-simpleui==2023.8.28
  • django-pure-pagination
  • django-simple-captcha
  • django-import-export
  • pymysql
  • mysqlclient
  • uwsgi

Deploy 部署

  1. 在安装好依赖后运行:python ./manage.py collectstatic将admin所需的静态文件复制到static文件夹下

    在配置文件中DEBUG默认为False
    如果你只是在开发环境中使用,可以设置为True并配置STATICFILES_DIRS,移除STATIC_ROOT
    Django会根据STATICFILES_DIRS自动查找静态文件的路径

  2. 配置数据库:

    python ./manage.py makemigrations
    python ./manage.py migrate
  3. 设置管理员账户密码:python ./manage.py createsuperuser 根据提示操作即可

Tips 提示

  1. 在Django 3.2.15 下运行测试
  2. 管理员界面使用了simpleui
  3. javascript组件使用了jQuery, laydate等,大部分js,css代码来源于该课程学习文件的老版本,本仓库重写了一定代码逻辑
  4. 图片等媒体静态文件均来源于网络资料,原作者享有对应版权

Show 部分展示效果

00
01
02
03

About

Online education website 慕课在线学习系统示例

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published