没有合适的资源?快使用搜索试试~ 我知道了~
music-blog:一个使用Flask + SQLAlchemy + PostgreSQL小型博客应用程序
共64个文件
py:15个
html:10个
woff2:10个
需积分: 50 4 下载量 69 浏览量
2021-05-24
12:00:13
上传
评论
收藏 2.56MB ZIP 举报
温馨提示
音乐博客 Flask + SQLAlchemy + PostgreSQL堆栈上的一个简单块。 有用于用户,发布和发布标签的模型。 它提供了在开发环境(内置烧瓶服务器)中的工作以及在容器中的组装。 安装和启动 1.通过包管理器。 pip install poetry poetry install poetry shell music_blog db upgrade music_blog demo music_blog run 在存储库的根目录中安装了poetry之后,运行poetry install ,它将创建一个虚拟环境,安装必要的依赖项(安装psycopg2可能会出现问题,这需要gcc和libpq-dev来构建;替代品可以是psycopg2-然后在环境中,您需要运行命令来创建/更新数据库结构,生成演示出版物并启动Web服务器 2.在容器中运行。 cp .env-sample .e
资源推荐
资源详情
资源评论
收起资源包目录
music-blog-main.zip (64个子文件)
music-blog-main
poetry.lock 30KB
.gitignore 2KB
Dockerfile 802B
.env-sample 56B
templates
images
article_img.jpg 121KB
assets
fonts
Roboto-Medium.woff2 64KB
fa-solid-900.woff2 78KB
Roboto-Italic.woff2 68KB
Roboto-Regular.woff2 63KB
Roboto-MediumItalic.woff2 69KB
css
main.css 2KB
auth.css 784B
common.css 3KB
fonts.css 796B
logo.svg 1KB
login.html 2KB
register.html 2KB
index.html 8KB
post.html 3KB
pyproject.toml 578B
.dockerignore 33B
LICENSE 1KB
uwsgi.ini 214B
entrypoint.sh 451B
docker-compose.yml 655B
README.md 3KB
tests
conftest.py 1KB
__init__.py 0B
test_models.py 1KB
helpers.py 556B
nginx.conf 820B
music_blog
templates
paginated_list.html 2KB
_form_helpers.html 186B
login.html 1017B
register.html 1KB
base.html 2KB
post_detail.html 2KB
__init__.py 831B
database.py 517B
uwsgi.ini 64B
static
fonts
Roboto-Medium.woff2 64KB
fa-solid-900.woff2 78KB
Roboto-Italic.woff2 68KB
Roboto-Regular.woff2 63KB
Roboto-MediumItalic.woff2 69KB
css
main.css 3KB
auth.css 1KB
common.css 3KB
fonts.css 796B
logo.svg 1KB
models.py 2KB
config.py 975B
sample_data
sample_images.zip 1.73MB
wsgi.py 57B
migrations
env.py 3KB
alembic.ini 770B
script.py.mako 494B
versions
42b8d9233009_initial_migration.py 2KB
README 38B
blog.py 2KB
forms.py 818B
commands.py 2KB
auth.py 2KB
supervisord.conf 418B
共 64 条
- 1
资源评论
应聘
- 粉丝: 27
- 资源: 4568
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功