After cloning down this repository:
cd peoples-history-of-tech
bundle install && yarn install
Learn more: Bridgetown Getting Started Documentation.
To start your site in development mode, run bin/bridgetown start
and navigate to localhost:4000!
To preview unpublished pages, run with the --unpublished
switch.
# running locally
bin/bridgetown build
bin/bridgetown start
# build & deploy to production
bin/bridgetown deploy
# load the site up within a Ruby console (IRB)
bin/bridgetown console
Learn more: Bridgetown CLI Documentation
Blog posts, team members, case studies, events, and job posts are all website resources that are driven through an integration with DecapCMS.
In order to access the admin portal while developing locally simply Open a new terminal from the projects root directory
Run the command
npx netlify-cms-proxy-server
This will start a proxy server for the admin portal at port 8081.
Then in a separate terminal window start up the bridgetown server. With both servers running, you can navigate to http://localhost:4000/admin/# to see the admin portal.
- Clone the fork using
git clone
to 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
- Ask for a review in the
#website
channel in Slack
- Why is the CMS complaining about duplicate collections? You can work around this by
touch
ing thesrc/admin/config.yml
file while the servers are both running, then refreshing the CMS page.