文件名称:blog-on-the-go:一个简单的博客应用程序
文件大小:1.41MB
文件格式:ZIP
更新时间:2024-04-08 05:34:28
Python
随时随地的博客 blogonthego是用Django开发的博客Web应用程序。用户访问网站时可以查看博客文章。用户还可以注册并登录该网站并创建新帖子,以供其他人查看。 要在本地运行网站,请在命令行上键入以下内容: git clone cd路径/到/克隆/存储库 python -m venv VENV VENV \ Scripts \ activate.bat(或PowerShell上的activate.ps1) 点安装-r requirements.txt python -m pip install django django-admin --version(检查django的安装) 设置SECRET_KEY ='mysecret'( export而不是为macOS set ) python manage.py运行服务器 然后在端口8000(127.0.0.1:8000/或l
【文件预览】:
blog-on-the-go-master
----accounts()
--------models.py(57B)
--------apps.py(91B)
--------templates()
--------__pycache__()
--------__init__.py(0B)
--------migrations()
--------views.py(1KB)
--------admin.py(63B)
--------tests.py(60B)
--------urls.py(252B)
----articles()
--------models.py(668B)
--------apps.py(91B)
--------templates()
--------__pycache__()
--------__init__.py(0B)
--------migrations()
--------views.py(1KB)
--------admin.py(119B)
--------tests.py(60B)
--------urls.py(254B)
--------forms.py(183B)
----runtime.txt(12B)
----templates()
--------homepage.html(257B)
--------base_layout.html(4KB)
--------about.html(245B)
----.github()
--------dependabot.yml(501B)
----media()
--------yellowcar_QMZmUng.png(181KB)
--------road.jpeg(101KB)
--------orangecar.png(176KB)
--------default2.png(10KB)
--------img1.png(62KB)
--------yellowcar.png(181KB)
--------graycar.png(50KB)
--------default.png(14KB)
--------purplecar.png(184KB)
--------bluecar.png(196KB)
--------default1.png(171KB)
----assets()
--------stars.png(100KB)
--------slugify.js(485B)
--------styles.css(7KB)
--------logo.png(16KB)
--------favicon.ico(36KB)
----blogonthego()
--------__pycache__()
--------wsgi.py(400B)
--------__init__.py(0B)
--------settings.py(3KB)
--------asgi.py(401B)
--------views.py(202B)
--------urls.py(1KB)
----Procfile(43B)
----db.sqlite3(156KB)
----requirements.txt(284B)
----manage.py(631B)
----README.md(895B)
----.vscode()
--------settings.json(138B)