clone to your htdocs
git clone <link>
move everything to /var/www/html (webroot)
then go to /var/www/html
and install depencies
composer install --no-dev
yarn install
edit /var/www/html/app/container.php
comment this
// $app->setBasepath();
start your webservice like apache or something like
php -S 127.0.0.1:8080 -t /var/www/html/public
clone to your htdocs
git clone <link>
move everything to /var/www/html/custom (webroot)
then go to /var/www/html/custom
and install depencies
composer install --no-dev
yarn install
edit /var/www/html/app/container.php
do this
$app->setBasepath('/custom');
start your webservice like apache or something like
php -S 127.0.0.1:8080 -t /var/www/html/custom/public
public/
|-- assets
| `-- local
| |-- images
| |-- audio
| |-- video
| `-- cache
`-- index.php
src/
`-- Controller
|-- BlogController.php
|-- HomeController.php
|-- NotFoundController.php
`-- Middleware -> Local middleware
|-- NotFoundMiddleware.php
`-- DatabaseMiddleware.php
config/
|-- bootstrap.php
|-- container.php
|-- middleware.php
|-- routes.php
`-- settings.php
templates/
|-- assets
| `-- local
| |-- js
| `-- css
|-- blog.html.twig
|-- footer.html.twig
|-- header.html.twig
`-- home.html.twig