-
Notifications
You must be signed in to change notification settings - Fork 6
2. Installation
bruno-barros edited this page Dec 29, 2014
·
13 revisions
composer create-project bruno-barros/w.eloquent --prefer-dist
https://github.com/bruno-barros/w.eloquent/archive/master.zip
composer install
For local
environment: .env.local.php
For production
environment: .env.php
- These files shouldn't be versioned.
<?php
return array(
// these are required
// if the .env.local.php is present the environment will be set to 'local'
// by default, but you can set a personal environment configuration for some
// part of the application
'APP_ENV' => 'local',
'APP_THEME' => 'base',
'DB_NAME' => 'weloquent',
'DB_USER' => 'root',
'DB_PASSWORD' => '',
'DB_HOST' => 'localhost',
'DB_PREFIX' => 'wp_',
'WP_HOME' => 'http://localhost/weloquent',
'WP_SITEURL' => 'http://localhost/weloquent/cms',
// from now on make the variables you want
'my-private-key' => 'foo',
);
- Access your home url and install Wordpress.
- Login on admin panel and set up the theme, menus and permalinks.
You are done!
See the Starter theme for more advanced features.