docs icon indicating copy to clipboard operation
docs copied to clipboard

Followed install instructions to no avail (twig errors on step5)

Open Adreqi opened this issue 3 years ago • 1 comments

Hi, Following the instruction on the install page (here : https://docs.boltcms.io/installation/installation), here is what I have :

Step 1, make sure composer is installed (it is, version 2.4.4) Step 2, composer create-project bolt/project myprojectname seems to work Step 3, sqlite is fine, default is kept as is Step 4, bolt:setup including admin creation and fixtures, no error

Step 5, php tells me server:start needs pcntl, which apparently doesn't exist on windows, so I use server:run as instructed, seems to work: PHP 7.4.4 Development Server (http://127.0.0.1:8000) started

Trying to open front page at http://127.0.0.1:8000/ gets the following symfony error : Unable to find one of the following templates: "index.twig", "index.html.twig".

Trying to open admin at http://127.0.0.1:8000/bolt gets the following symfony error : An exception has been thrown during the rendering of a template ("Could not find the entrypoints file from Webpack: the file "C:\wamp64\www\bolt5/public/assets/entrypoints.json" does not exist.").

I also tried step 5 with a virtualhost on my wampserver (http://bolt5.local) with the same result.

Did I miss something ?

Adreqi avatar Nov 15 '22 15:11 Adreqi

Same thing here, had to run bin/console assets:install because the default theme didn't install assets

logansam avatar Jul 31 '23 01:07 logansam