Bridgetown is a progressive site generator. You add content written in an author-friendly markup language like Markdown, alongside layouts and components using template syntax such as Liquid or ERB, and Bridgetown will then compile HTML, CSS, and JavaScript to an output website folder. You can tweak exactly how you want the pages to look, what data gets displayed on the site, and more. Bridgetown is powered by the Ruby programming language, as well as Node for JavaScript-based processing of your frontend assets. Bridgetown started life as a Jekyll fork in early 2020, but it has since grown into so much more.
We’ll explain much more about what Bridgetown is and what it can do for you in the sections ahead. Let’s go!
Quick Instructions
Read the requirements for more information on what you’ll need to have set up in advance, primarily Ruby and Node/Yarn. Then:
- Install Bridgetown and related gems:
gem install bridgetown -N
- Create a new Bridgetown site at
./mysite
.bridgetown new mysite
- Change into your new directory.
cd mysite
- Build the site and run a live-reload development server:
bin/bridgetown start
Browse to http://localhost:4000
- And you’re done! (That’s the goal at least )Detailed installation instructions for macOS, Ubuntu Linux, Fedora Linux and Windows 10 are available here.
Installation Guides
Bridgetown is a software written in Ruby, a friendly programming language that maximizes programmer happiness and makes it easy to build and customize open source projects. You will need to install Bridgetown as a Gem after you set up your Ruby language environment. You will also need to install Node and Yarn to manage your website’s frontend assets.
Requirements#
If you don’t have some or all of these tools, our setup guides for macOS, Ubuntu Linux, and Ubuntu for Windows will help you install them.
GCC and Make (which you can check by running
gcc -v
,g++ -v
andmake -v
).Ruby version 2.7 or above (ruby version can be checked by running
ruby -v
)Node version 12 or above (which you can check by running
node -v
)Yarn (which you can check by running
yarn -v
)
Guides#
For detailed installation instructions, take a look at the guide for your operating system:
No comments:
Post a Comment