19 Star 70 Fork 0

Gitee 极速下载/wagtail

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/wagtail/wagtail
克隆/下载
.squash.yml 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
LB Johnston 提交于 2023-10-27 16:45 . Upgrade to Node 20
deployments:
default:
dockerimage: python:3.11.4-slim-bullseye
build_steps:
- apt-get update && apt-get install -y libssl-dev libpq-dev git build-essential libfontconfig1 libfontconfig1-dev curl
- RUN bash -c "curl -sL https://deb.nodesource.com/setup_20.x | bash -"
- apt install -y nodejs
- pip install setuptools pip --upgrade --force-reinstall
- cd /code
post_build_steps:
- npm ci --audit=false --progress=false
- npm run build
- git clone --depth=1 https://github.com/wagtail/bakerydemo.git /bakerydemo
# Install bakerydemo dependencies
- pip install -r /bakerydemo/requirements/base.txt
# Install the checked-out version of Wagtail, overriding whatever version was installed previously
- pip install /code
- cd /bakerydemo
- python manage.py migrate
# Load content, will also create a superuser for us (admin / changeme)
- python manage.py load_initial_data
# Ensure that the CSRF_TRUSTED_ORIGINS setting includes the Squash.io domain
- echo "CSRF_TRUSTED_ORIGINS = ['https://*.squash.io']" > /bakerydemo/bakerydemo/settings/local.py
launch_steps:
- cd /bakerydemo/
- python manage.py runserver 0.0.0.0:80
port_forwarding: 80:80
run_options: -v ~/code:/code
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mirrors/wagtail.git
[email protected]:mirrors/wagtail.git
mirrors
wagtail
wagtail
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385