Features development
August 16, 2020 ยท View on GitHub
Install and run the project by general installation guide.
Build scripts and styles
Use webpack to build scripts and styles for CodeX Media.
Build scripts and styles in development mode. Webpack will watch project files and rebuild bundles on changes.
Run these commands in separate terminals.
docker exec -i codexmedia_php_1 yarn build_js:watch
docker exec -i codexmedia_php_1 yarn build_css:watch
Composer packages
Use composer utility inside php container.
docker exec -i codexmedia_php_1 composer install
docker exec -i codexmedia_php_1 composer require package_name
Fix PHP code style
Run this command before committing changes.
docker exec -i codexmedia_php_1 composer csfix