Note: Try yarn instead of npm. Its faster. Especialy on windows
- yarn or npm
- I will be using yarn
- Clone repo
- Set up virtualhost on your system
- Create database
- (Optional) Get DB dump somewhere and import it to your DB
- Duplicate wp-config-sample.php -
cp wp-config-sample.php wp-config.php
- Edit wp-config.php - fill in your db info
- (Optional...or if compiling does not work) Install gulp globally (You should not need this but just for safe measures) -
yarn global add gulp-cli gulp
- Install FE dependencies -
yarn
- a. Run watcher for compiling SCSS and JS -
yarn start
b. If you need production ready bundle -yarn run build
c. If above does not work try step 7) of this guide. Otherwise ask Vojta if he knows how to fix your problem - Happy coding!
- axios for promise based ajax
- pickathing for nice selects
- Custom wp plugin for form ajax - see implementation example in
wp-content/plugins/contact-form
- ACF Pro for awesome custom fields in WP admin
get_view()
custom functions to include template parts with data - seewp-content/themes/theme/functions
- Kint PHP debugger (var_dumper) - just use
d(expression)