Skip to content

Commit

Permalink
update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
janette committed Oct 30, 2023
1 parent 463848a commit 5f15367
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
14 changes: 3 additions & 11 deletions docs/demo.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
# Run The DKAN Demo Site

Note: As of DDEV 1.19.5, these instructions require managing the settings.php
file. After DDEV 1.19.6 is released, this will (hopefully) not be required.
# Build a DKAN Demo Site

mkdir my-project && cd my-project
ddev config --auto
ddev get getdkan/dkan-ddev-addon
ddev get https://github.com/GetDKAN/ddev-dkan/archive/refs/heads/main.tar.gz
ddev restart
ddev composer create getdkan/recommended-project:@dev -y
# At this point, we must add a configuration to settings.php
# This should change after DDev 1.19.6 is released.
cat .ddev/misc/settings.dkan-snippet.php.txt >> docroot/sites/default/settings.php
cp .ddev/misc/settings.dkan.php docroot/sites/default/settings.dkan.php

ddev dkan-demo
ddev launch
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Grab the DKAN addon to get helpful DKAN commands.
Note that eventually we'll be 'official' and you won't have
to install this from a tarball.

ddev get https://github.com/GetDKAN/dkan-ddev-addon/archive/refs/heads/main.tar.gz
ddev get https://github.com/GetDKAN/ddev-dkan/archive/refs/heads/main.tar.gz

Make sure we're using the addon.

Expand Down

0 comments on commit 5f15367

Please sign in to comment.