Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Official Cantera Website

License

NotificationsYou must be signed in to change notification settings

Cantera/cantera-website

Repository files navigation

This repository contains the source code for thecantera.org website. Thesite is built using theSphinx static site generator.

To build the website

Using pdm (Recommended)

  1. Installpdm. Recommended method is to usepipx.

  2. Runpdm install to create the virtual environment

  3. Runpdm run build to build the website, or runpdm run rebuild to automatically rebuild the website when a page changes.

  4. Run a web server to view the website:

    python -m http.server 8080 --directory build/html
  5. Open a browser tohttp://localhost:8080

When you're ready to shut things down, close the web server withC-c (CTRL-c)

Using Conda (old instructions that aren't updated)

  1. Create a virtual environment for Sphinx usingconda and activate it. The environment must have Python 3.10 and theconda-lock package.

  2. Clone the Cantera website source:git clone https://github.com/Cantera/cantera-website.git

  3. Enter the website repo:cd cantera-website

  4. Inside the website repo, install the required packages:

    conda-lock install continuous-integration/conda-lock.yml --name<name-of-your-environment>
  5. Build the website and open in browser:make html && python -m http.server --directory build/html then navigate tolocalhost:8000 in your browser

  6. PressC-c (CTRL-C) to close the Python HTTP server


[8]ページ先頭

©2009-2025 Movatter.jp