Code Monkey home page Code Monkey logo

pyconchina2023's Introduction

PyConChina 2023 官方网站

安装 PDM

请参考 PDM 官方文档 安装 PDM

安装依赖

pdm install

启动开发服务器

pdm serve

支持热重载。

添加修改内容

本网站使用 Lektor 搭建,各目录作用如下:

  • assets 存放静态资源
  • content 存放网站内容数据
  • databags 存放元数据配置信息
  • templates (Jinja)模板文件

另外可以通过开发服务器的管理员界面(在页面右上角进入)在网页中进行修改、上传附件等操作。

构建静态文件

pdm run build

结果输出在 _build 目录下。

查看构建结果

pdm start

访问 http://localhost:8000 浏览构建结果。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.