Package is currently in development.
Finished:
- Install routine
- Lumen WordPress connection
ToDos:
- Optimize theme
- Use twig templating in theme
- PHP Version > 5.5
- composer
- tar
- unzip
- Node
- NPM global Gulp
- NPM global Bower
- ACF Pro (http://www.advancedcustomfields.com/pro/)
- Edit "/install/config/install-config-sample.json" with project settings and save as "/install/config/install-config.json"
- Replace "ACF_LICENCE_KEY" with your ACF license key
- Run 'composer install'
- If using gulp?
- Run "npm install"
- Run "bower install -y"
- Run "php artisan wp-lumen:refresh-dotenv-file"
- Run "php artisan wp-lumen:install"
- Set document root to "/public"
- Restart apache or nginx
- Fill ACF Pro option page
- Setup backup script in crontab "* * * * * php artisan schedule:run >> /dev/null 2>&1"
chmod 777 /var/www/wordpress-lumen.mindtwo.de/system/public/wp-content/cache
chmod 777 /var/www/wordpress-lumen.mindtwo.de/system/public/wp-content/w3tc-config
rm -rf /var/www/wordpress-lumen.mindtwo.de/system/public/wp-content/cache/config
rm -rf /var/www/wordpress-lumen.mindtwo.de/system/public/wp-content/cache/tmp
cd /project-folder
php wp-cli.phar post update 2 --post_name="home" --post_title="Home" --comment_status=closed --ping_status=closed
php wp-cli.phar post create --post_type=page --post_title="Contact" --post_name="contact" --post_status=publish
php wp-cli.phar post create --post_type=page --post_title="Landingpage" --post_name="landingpage" --post_status=publish
Theme function description is coming soon...