All Projects → PininQ → Flask_movie_project

PininQ / Flask_movie_project

Licence: other
🎬 Flask构建的小花椒视频网站(重新配置 ing……)

Programming Languages

python
139335 projects - #7 most used programming language
CSS
56736 projects
PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to Flask movie project

flask-tweeeter
A full-stack Twitter clone made using the Flask framework for Python 🐦
Stars: ✭ 28 (+86.67%)
Mutual labels:  jinja2, flask-sqlalchemy
Staticjinja
Minimalist Python library for building static websites with Jinja
Stars: ✭ 218 (+1353.33%)
Mutual labels:  jinja2
Kapitan
Generic templated configuration management for Kubernetes, Terraform and other things
Stars: ✭ 1,383 (+9120%)
Mutual labels:  jinja2
Index.py
An easy-to-use high-performance asynchronous web framework.
Stars: ✭ 158 (+953.33%)
Mutual labels:  jinja2
Napalm Salt
Modules for event-driven network automation and orchestration using Salt
Stars: ✭ 116 (+673.33%)
Mutual labels:  jinja2
Aiohttp Jinja2
jinja2 template renderer for aiohttp.web
Stars: ✭ 180 (+1100%)
Mutual labels:  jinja2
Python Training For Network Engineers
Python hands-on training for network engineers. How to automate Junos with Python
Stars: ✭ 92 (+513.33%)
Mutual labels:  jinja2
jinja.dart
Jinja2 template engine port for Dart.
Stars: ✭ 38 (+153.33%)
Mutual labels:  jinja2
Django Webpush
Web Push Notification Package for Django
Stars: ✭ 217 (+1346.67%)
Mutual labels:  jinja2
Ops Cli
Ops - cli wrapper for Terraform, Ansible, Helmfile and SSH for cloud automation
Stars: ✭ 152 (+913.33%)
Mutual labels:  jinja2
Td4a
Template designer for automation
Stars: ✭ 139 (+826.67%)
Mutual labels:  jinja2
Tera
A template engine for Rust based on Jinja2/Django
Stars: ✭ 1,873 (+12386.67%)
Mutual labels:  jinja2
Yasha
A command-line tool to render Jinja templates for great good
Stars: ✭ 189 (+1160%)
Mutual labels:  jinja2
Zenbu
🏮 A Jinja2 + YAML based config templater.
Stars: ✭ 114 (+660%)
Mutual labels:  jinja2
Statik
Multi-purpose static web site generator aimed at developers.
Stars: ✭ 249 (+1560%)
Mutual labels:  jinja2
Mkdocs macros plugin
Create richer and more beautiful pages in MkDocs, by using variables and calls to macros in the markdown code.
Stars: ✭ 93 (+520%)
Mutual labels:  jinja2
Home Assistant Config
My Home Assistant Configuration 🏡🏡
Stars: ✭ 133 (+786.67%)
Mutual labels:  jinja2
Dnsmasqweb
基于DNSmasq的DNS解析、以及DHCP地址分配系统
Stars: ✭ 166 (+1006.67%)
Mutual labels:  jinja2
pelican-alchemy
A ✨ functional, clean, responsive Pelican theme
Stars: ✭ 129 (+760%)
Mutual labels:  jinja2
artifacts
A clone of Etsy, an e-commerce site themed around selling items procured by time travelers.
Stars: ✭ 16 (+6.67%)
Mutual labels:  flask-sqlalchemy

小花椒微电影网站

小花椒网站是一个基于Flask框架而搭建的视频类网站。

线上演示地址: https://www.xhuajiao.top

实现功能

前台:会员登录及注册、会员中心、电影播放、 电影评论、电影收藏、Ta主页等等。

后台: 管理员登录、修改密码、标签管理、 电影管理、上映预告管理、会员管理、 评论管理、收藏管理、角色管理、 权限管理、管理员管理、日志管理、网站建议管理等等。

项目结构

Flask_movie_project/    <-- 根目录
├── app                <-- Web目录
│   ├── admin           <-- 后台业务逻辑
│   ├── home            <-- 前端业务逻辑
│   ├── __init__.py
│   ├── models.py       <-- 数据模型文件
│   ├── static          <-- 存放静态文件
│   └── templates       <-- 存放模板文件
├── app.py
├── logs               <-- 存放日志文件
├── manage.py          <-- Flask应用的启动程序
├── movie.sql          <-- 数据库建表语句
└── req.txt            <-- 项目依赖包

运行项目

  • 安装项目所需依赖包
pip install -r req.txt
  • 导入数据库
mysqldump -u 用户名 -p 数据库名 > 导出的文件名  

示例:mysqldump -u root -p root > movie.sql
  • 克隆项目到本地
git clone https://github.com/qinbin52qiul/Flask_movie_project.git

进入Flask_movie_project目录(按住Shift+鼠标右键,打开在此处打开shell)

python manage.py runserver -h 127.0.0.1 -p 5000(端口号任意)

在浏览器中访问http://127.0.0.1:5000/

注:manage.py文件内容如下(如不是请修改):

from app import app
from flask_script import Manager

manager = Manager(app)

if __name__ == "__main__":
    # app.run(debug=True)
    manager.run()

网站部分截图

网站前台

image

image

image

image

网站后台

image

image

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].