https://github.com/jlumbroso/prairie
https://github.com/jlumbroso/prairie
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jlumbroso/prairie
- Owner: jlumbroso
- License: lgpl-3.0
- Created: 2023-09-08T00:05:03.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-13T23:31:33.000Z (about 2 years ago)
- Last Synced: 2025-09-06T04:39:05.706Z (about 1 month ago)
- Language: Python
- Size: 324 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prairie CLI
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.
## Features
* 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.## Installation
1. Dependencies: Ensure you have [Docker Desktop](https://www.docker.com/products/docker-desktop/) installed.
2. (Windows Users): It's recommended to use WSL 2 for optimal performance. Follow the [installation guide](https://learn.microsoft.com/en-us/windows/wsl/install) for WSL 2 and integrate it with Docker as described [here](https://docs.docker.com/desktop/windows/wsl/).
3. Install Prairie CLI:
```bash
pip install prairie
```## Usage
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`.
## Contributing
If you'd like to contribute to Prairie CLI, just make a pull request.
## License
This project is licensed [under the LGPLv3 license](https://www.gnu.org/licenses/lgpl-3.0.en.html),
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 including
`prairie` in the dependency such as a `pyproject.toml` or `Pipfile`
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`](https://github.com/jlumbroso/prairie/blob/master/pyproject.toml#L29-L49).