Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 821 Bytes

features-development.md

File metadata and controls

40 lines (25 loc) · 821 Bytes

Features development

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