Skip to content

Commit

Permalink
Merge pull request #31 from compucorp/HW-297-set-wizard-view-as-default
Browse files Browse the repository at this point in the history
HW-297: Set bootstrap wizard as default while installing mosaico
  • Loading branch information
meladawy committed Apr 27, 2017
2 parents ade5fb4 + cbd201a commit 4340b3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ function do_gencode() {
echo "If there have been XML schema changes, then be sure to manually update the .sql files!"
}

##############################
function set_default_settings() {
cv api setting.create mosaico_layout=bootstrap-wizard
}

##############################
function do_download() {
if [ ! -d "$EXTROOT/packages" ]; then
Expand All @@ -98,6 +103,7 @@ function do_download() {
fi
npm install
grunt build
set_default_settings
popd >> /dev/null
}

Expand Down

0 comments on commit 4340b3a

Please sign in to comment.