This tutorial lets you jump into Bedrock quickly.
We are going to assume you have some knowledge about modern web development, including working with Git, HTML and SCSS.
One part that might be a bit more exotic about working with Bedrock is the usage of the Pug templating language.
If this is new to you, see working with Pug.
We recommend cloning the repository using the degit project. This allows you to clone a repository without the Bedrock Git repository itself (since you won’t be working on Bedrock, but on your own project.
First, install degit:
npm install -g degit
Then navigate to the folder you store your web projects and run
degit usebedrock/bedrock my-first-bedrock-project
Now navigate into the directory you just copied:
Next, install the project’s node modules:
(We follow the Node LTS (Long term stable release. Take a look at Bedrock’s requirements)
After installing the node modules, run the following:
This starts a development server and opens your default browser at
Please keep this server running while working on a Bedrock project.
Congratulations, you got Bedrock up and running!