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

Open
#1,270 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
php, webpack
Domain
documentation

Research direction

Start with the installation page linked in the report and reproduce Step 5 on Windows using the documented commands, checking the missing index.twig and public/assets/entrypoints.json errors. Done means the instructions either produce working front and admin pages or clearly document the required Windows-specific steps and prerequisites.

Written by the indexing model from the issue text.

Description

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 ?

Dominant language
PHP
Stars
45
Forks
189
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bolt/docs

All issues in bolt/docs

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.