A boilerplate that installs WordPress together with themes and plugins for creating a Municipio site.
This is a simple guide on how to get started with the Municipio Boilerplate.
Make sure you have Composer installed on your machine.
- Open the
composer.json
file and change thename
andauthors
values. - In the Terminal,
cd
to the Municipio Boilerplate folder on your system. - Install Composer dependencies by running
composer install
. - Wait until all dependencies have been installed.
- Run
mv config/database-example.php config/database.php
to rename the database config file. Then open it in a text editor of your choise. - Fill in your database details and change the
$table_prefix
variable value to the table prefix you want on your database tables. mv config/salts-example.php config/salts.php
to rename the salts config file. Then open it in a text editor of your choise.mv config/cache-example.php config/cache.php
to rename the salts config file. Then open it in a text editor of your choise.- Go to https://api.wordpress.org/secret-key/1.1/salt/ to generate salts (or do it manually). Copy and paste (replace old) to the salts config file.
If you want your install to be a multisite, please follow the above "getting started" stes and then do the following:
- Run
mv config/multisite-example.php config/multisite.php
to rename the multisite config file.