Welcome to Bedrock.
Bedrock is a static site generator to easily make HTML prototypes. For more information, please check out the Bedrock website.
- First, make sure you have Node 6.3.1 installed. You can find the latest version of Node at Nodejs.org.
- You need to have
gulp
installed globally to use Bedrock.npm install -g gulp
. - Install the project's dependencies:
npm install
- Run
gulp
to start your project.
gulp
: runs the prototypegulp build
: create a build (which ends up in thedist
folder) that can be deployed to a server
See the README at https://github.com/mono-company/bedrock-cli .
The configuration lives in bedrock.config.js
. Available options are:
styleguide
snippetLanguage
- This modifies the language snippets shown in the styleguide.
jade
orhtml
colors
- path to the SCSS file specifying colors (for the color feature in the styleguide which shows the project's colors in a visual way)
ui
dark
- This modifies the base color of the tree and styleguide. This is meant for projects that primarily have a dark "look" in general.
icons
hasSvgIcons
generateIconFont
- See "Using icon fonts"
- If you want to use icon fonts you need more dependencies than just node. Icon font generation is optional. Set
icons.generateIconFont
totrue
inbedrock.config.js
to activate icon fonts. - In order for the icon font generation to work, install the required gems using
bundle install
. You will need Bundler for this. We depend on a Ruby gem calledfontcustom
. Bundler will install the required dependencies.- You might also need to install fontforge using brew. For download instructions see the fontcustom repo.
Windows usage is not supported at the moment.
We have used Bedrock on Windows successfully though. If you encounter any Windows related bugs, please log them under issues.
Bedrock is MIT licensed.
Bedrock was made by the team at Mono with most major contributions by Thomas Tuts.