Welcome to your new Bridgetown website! You can update this README file to provide additional context and setup information for yourself or other contributors.
- GCC
- Make
- Ruby
>= 3.2
- Bridgetown Gem
gem install bridgetown -N
- Node
>= 20
cd bridgetown-site-folder
bundle install && npm installLearn more: Bridgetown Getting Started Documentation.
To start your site in development mode, run bin/dev and navigate to localhost:4000!
On macOS, bin/dev sets OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES before launching Ruby to avoid Objective-C fork-safety crashes seen with bridgetown start.
Use a theme or add some plugins to get started quickly.
# running locally
bin/dev
# alternate direct command (may require OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES on macOS)
bin/bridgetown start
# build & deploy to production
bin/bridgetown deploy
# load the site up within a Ruby console (IRB)
bin/bridgetown consoleLearn more: Bridgetown CLI Documentation
You can deploy Bridgetown sites on hosts like statichost.eu and Render as well as traditional web servers by simply building and copying the output folder to your HTML root.
Read the Bridgetown Deployment Documentation for more information.
If repo is on GitHub:
- Fork it
- Clone the fork using
git cloneto your local development machine. - Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request