No description
Find a file
2025-04-27 11:34:24 +02:00
.forgejo/workflows improve coverage, remove infection 2025-01-26 11:49:21 +01:00
assets bootystrappy 2025-04-27 11:34:24 +02:00
bin migrate to pest php for testing 2025-02-01 00:11:25 +01:00
config bootystrappy 2025-04-27 11:34:24 +02:00
deploy update deployment folder for php 8.4 2025-02-01 22:44:28 +01:00
migrations add menuitem aliases 2025-01-25 02:15:49 +01:00
public bootystrappy 2025-04-27 11:34:24 +02:00
src add open orders api route 2025-04-23 18:57:55 +02:00
templates bootystrappy 2025-04-27 11:34:24 +02:00
tests add open orders api route 2025-04-23 18:57:55 +02:00
var add more deployment files 2024-06-17 22:41:47 +02:00
.env add rest api 2025-02-02 21:15:44 +01:00
.env.test migrate to pest php for testing 2025-02-01 00:11:25 +01:00
.gitignore bootystrappy 2025-04-27 11:34:24 +02:00
composer.json bootystrappy 2025-04-27 11:34:24 +02:00
composer.lock bootystrappy 2025-04-27 11:34:24 +02:00
ecs.php A new start 2024-06-10 19:16:55 +02:00
package-lock.json bootystrappy 2025-04-27 11:34:24 +02:00
package.json bootystrappy 2025-04-27 11:34:24 +02:00
php-styler.php A new start 2024-06-10 19:16:55 +02:00
phpunit.xml migrate test cases to use pestphp syntax 2025-02-01 22:37:07 +01:00
phpunit.xml.dist migrate to pest php for testing 2025-02-01 00:11:25 +01:00
README.md bootystrappy 2025-04-27 11:34:24 +02:00
rector.php A new start 2024-06-10 19:16:55 +02:00
symfony.lock bootystrappy 2025-04-27 11:34:24 +02:00
webpack.config.js bootystrappy 2025-04-27 11:34:24 +02:00

Asset Management with Webpack Encore

This project uses Webpack Encore for asset management including JavaScript and CSS minification.

Setup

Before using the application, you need to set up the front-end assets:

  1. Install Node.js dependencies:

    npm install
    
  2. Copy the existing static assets to the Encore assets directory:

    mkdir -p assets/css assets/js
    cp public/static/css/water.min.css assets/css/
    cp public/static/js/htmx.min.js assets/js/
    
  3. Build the assets:

    For development:

    npm run dev
    

    For production (with minification):

    npm run build
    

Development

During development, you can use the watch command to automatically rebuild assets when files change: