#WP Hipster
- Clone repo
git clone https://github.com/dejano/wphipster.git git submodules init
git submodules update- Setup environment
- Create virtual host.
- Environment is defined inside .htaccess
SetEnv APPLICATION_ENV "dev"wheredevis environment name. ChangeWP_HOMEandDB_*constants insideconfig/env/dev.php.
-
Changing environment (setup your own env and add it to .gitignore)
- Set
SetEnv APPLICATION_ENV "envName"inside .htaccess. - Create file inside
config/env/envName.php.
Default config file is
config/env/local.phpand if it exists custom environment will be ignored. - Set
├── config/ # configuration
├── public/
│ ├── content/ # themes, plugins, uploads
│ ├── ├── plugins/
│ ├── ├── themes/
│ ├── ├── ├── wphipster/
│ ├── ├── ├── ├── bower_components/
│ ├── ├── ├── ├── config/ # framework config files (theme specific)
│ ├── ├── ├── ├── framework/
│ ├── ├── ├── ├── include/ # theme files
│ ├── ├── ├── ├── partials/ # view files
│ ├── ├── ├── ├── static/ # js, sass and css
│ ├── ├── uploads/
│ ├── site/ # wordpress files
Demo content http://wptest.io/