GetDKAN / ddev-dkan

DDEV add-on for DKAN.
https://getdkan.github.io/ddev-dkan/
Apache License 2.0
3 stars 2 forks source link

Separate sample content into its own command #7

Closed dafeder closed 2 years ago

dafeder commented 2 years ago

Add a dkan-sample-content command, move the sample content stuff in there, and replace them in demo with the new command.

paul-m commented 2 years ago

To test:

mkdir my-project && cd my_project
ddev config --auto
ddev get https://github.com/GetDKAN/dkan-ddev-addon/archive/refs/heads/7-separate-sample-content-into-its-own-command.tar.gz
ddev restart
ddev dkan-init
ddev dkan-site-install
ddev dkan-sample-content

At this point you can do ddev launch to see the front page of the site with some sample content on it.