pipalacademy / riyaz

A light-weight, self-hostable learning platform.
MIT License
2 stars 0 forks source link

New command: `riyaz new` #21

Closed nikochiko closed 2 years ago

nikochiko commented 2 years ago

It should:

Approach:

The sample data loaded should have some demonstration of how to use the features provided by riyaz.

anandology commented 2 years ago

Wouldn't it be better to use cookie-cutter for this?

You can look at an example at: https://github.com/pipalacademy/python-practice-problems/tree/main/cookiecutter-problem

anandology commented 2 years ago

It should:

* help the course developer to understand where each file goes, and how the settings need to be specified

* give user a project template to fill in the blanks or swap out pieces

Shouldn't the goal just be:

nikochiko commented 2 years ago

Cookie cutter makes sense.

Shouldn't the goal just be:

create a new empty course with all required files from a predefined template

Yeah, okay 👍 . We don't need to make the template content serve as documentation.

nikochiko commented 2 years ago

Should we have cookiecutter as a dependency and run it from python when riyaz new is run, or let the user run cookiecutter on their own?