Skip to content

Commit

Permalink
Set WordPress version
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneShipston committed Oct 7, 2016
1 parent 8c29f92 commit 79d8f3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
# WordPress folder
wpfolder: public

# WordPress Version
wpversion: latest

# language/timezone
wplocale: en_US
timezone: "America/New_York"
Expand Down
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ cd $CONF_wpfolder
if $CONF_setup_wp ; then
printf "${BRN}[=== INSTALL WORDPRESS ===]${NC}\n"
printf "${BLU}»»» downloading WordPress...${NC}\n"
wp core download --locale=$CONF_wplocale
wp core download --locale=$CONF_wplocale --version=$CONF_wpversion
printf "${BLU}»»» creating wp-config...${NC}\n"
wp core config --dbname=$CONF_db_name --dbuser=$CONF_db_user --dbpass=$CONF_db_pass --dbprefix=$CONF_db_prefix --locale=$CONF_wplocale
printf "${BLU}»»» installing wordpress...${NC}\n"
Expand Down

0 comments on commit 79d8f3d

Please sign in to comment.