Closed nikochiko closed 2 years ago
Fixes #34
Changes:
new-site
riyaz new-site
setup_config
riyaz/cli/__init__.py
config.py
./riyaz.yml
Creates a directory structure like this:
newsite/ |-- assets/ |-- riyaz.db |-- riyaz.yml -------------
Initial riyaz.yml looks like
riyaz.yml
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
Fixes #34
Changes:
new-site
riyaz new-site
setup_config
method inriyaz/cli/__init__.py
config.py
: Read config from./riyaz.yml
if it is presentCreates a directory structure like this:
Initial
riyaz.yml
looks likeNote: To work properly this depends onaddedconfig.py
parsing ariyaz.yml
from the current working directory