This application is a PWA (Progressive Web Application) built with Symfony and PHPWA.
- If not already done, install Docker Compose (v2.10+)
- Run
castor build
to build fresh images - Run
castor start
to start the project - Open
https://localhost
in your favorite web browser and accept the auto-generated TLS certificate - Run
castor stop
to stop the Docker containers.
If not already done, install Symfony CLI.
You can also install the TLS certificates to have HTTPS working out of the box: symfony server:ca:install
- Run
git clone [email protected]:Spomky-Labs/phpwa-demo.git && cd phpwa-demo
to clone the demo and move to the created folder - Run
composer install
to install the dependencies - Run
symfony console assets:install
to install the assets - Run
symfony console importmap:install
to install frontend dependencies 5.Runsymfony console tailwind:build
to build the frontend assets - Run
symfony console asset-map:compile
to compile the assets - Run
symfony server:start
to start the project - Run
symfony open:local
to open the app in your default web browser. Alternatively, you can go the http://localhost:8000 - Run
symfony server:stop
to stop the server
It is available under the MIT License.