Prairie CLI is a command-line interface designed to streamline your PrairieLearn experience. Whether you're a course instructor, a content developer, or just someone looking to explore PrairieLearn, this tool offers utilities to make your journey smoother.
- Docker Integration: Easily manage PrairieLearn containers with built-in Docker commands.
- Local Course Development: Test and develop your course content locally without the need for external setups.
- Easy Updates: Keep your local PrairieLearn version up-to-date with simple commands.
- Dependencies: Ensure you have Docker Desktop installed.
- (Windows Users): It's recommended to use WSL 2 for optimal performance. Follow the installation guide for WSL 2 and integrate it with Docker as described here.
- Install Prairie CLI:
pip install prairie
Once installed, you can use the prairie
command to access all features. Here are some common commands:
- Launch PrairieLearn:
prairie docker launch --course-dir YOUR_COURSE_DIRECTORY
- Update PrairieLearn:
prairie docker update
- Check PrairieLearn Status:
prairie docker status
For a full list of commands and options, use prairie --help
.
If you'd like to contribute to Prairie CLI, just make a pull request.
This project is licensed under the LGPLv3 license, with the understanding that importing a Python modular is similar in spirit to dynamically linking against it.
-
You can use the library/CLI
prairie
in any project, for any purpose, as long as you provide some acknowledgement to this original project for use of the library (for open source software, just explicitly includingprairie
in the dependency such as apyproject.toml
orPipfile
is acknowledgement enough for me!). -
If you make improvements to
prairie
, you are required to make those changes publicly available.
This license is compatible with the license of all the dependencies as
documented in this project's own pyproject.toml
.