-
set up a regular VVV You could set some other environment but the migration sql assumes:
local.wordpress.dev as a host
and
/srv/www/wordpress-default
as the path to the files
-
go to ./www/wordpress-default/wp-content/themes on mounted vagrant filesystem
-
clone the theme into the develop branch
git clone -b develop https://github.com/MiquelAdell/cordills cordills
-
there should be a migration.sql on ./cordills/ execute it on the database
-
on ./www/wordpress-default/wp-content/themes/cordills execute the following:
composer update npm install bower install gulp
(if you don't have bower and gulp but you have npm you can just npm install -g gulp bower ) 6. donwload the uploads folder and extract it to ./vagrant-local/www/wordpress-default/wp-content/uploads
-
right now everything should work. If not let me know.
-
every sass and js that needs editing is in assets
-
All the front end libraries are on bower_components. For example there is a boostrap behind that has tons of defaults on bower_components/boostrap-sass. The usual thing is to overwrite them on assets if needed.
BONUS:
-
if instead of gulp you run gulp && gulp watch a browser sync (I'm not sure if you need to install it. If you need you can do it by
npm install -g browser-sync
but it's totally worth it.
Using gulp watch gulp auto triggers and reloads the website as you code.