pipalacademy / riyaz

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

#34: Add command: `riyaz new-site` #36

Closed nikochiko closed 2 years ago

nikochiko commented 2 years ago

Fixes #34

Changes:

Creates a directory structure like this:

newsite/
|-- assets/
|-- riyaz.db
|-- riyaz.yml
-------------

Initial riyaz.yml looks like

database_path: riyaz.db
assets_path: assets

Note: To work properly this depends on config.py parsing a riyaz.yml from the current working directory added