这是异想之旅第一个真正成型的开源项目!
项目预览:https://pan.yixiangzhilv.com/
这是一个Python Web项目。项目使用Flask编程,前端页面使用Jinja2模板动态生成,静态部分主要为Bootstrap设计。这是一个微型的综合项目--总计代码量仅两千行(现在的精简版更少了),但是包含有前端后端、静态文件、页面模板等多层概念,适合新手学习研究。
项目采用GPL协议,允许任意形式的使用和再创作,公开源码部署仅需要邮件告知网址即可。
本项目使用的依赖:
- Python3环境(开发时使用的是Python3.8.5)
- Python包(均可使用pip):详见requirements.txt(命令:pip3 install -r requirements.txt)
- Windows 或 Linux 64位操作系统
- 支持SMTP的邮箱地址(可选,用于发送验证邮件)
Flask框架的Web项目运行十分简单:只需要运行项目目录下的main.py即可。
个性化设置请见config.py
微信公众号 异想之旅
The first successful programme made by Yixiangzhilv!
View: https://pan.yixiangzhilv.com/
The source code is on the way, please wait!
This is a Python-Web programme. It powers by Flask of Python, the HTML file creates by Jinja2 timely, and the static templates were written by Bootstrap by HTML, CSS and JavaScript. This programme is light but comprehensive - the amount of the lines of codes is smaller than a thousand(now ), but it includes Front-End and Back-End in a web programme, static files, HTML templates and lots of other programming knowledge. It is kindness to new-hand!
This project uses GPL License, allows anyone to use and re-coding. If you want to use it in the public net, just email me first(tell me your host).
What you have to prepare before using:
- Python3 environment(We recommends Version 3.8.5)
- Python Packages(use pip to install): See at requirements.txt (In case you don't know how to: pip3 install -r requirements.txt)
- Windows or Linux x64
- An email address with SMTP support(not necessary, uses for send check-email)
This Web-program made with Flask is very easy to run: You just have to run the file main.py at the root path of the program.
For your own settings, see config.py
[email protected] or Wechat official account "异想之旅"。