PLIBMTTBHGATY
Adding Your Event to the Website
- Fork this repo
- Create a branch
git checkout -b <location-name>-<date>
- Update
source/events.json
with your event details. Here's an example:
{
"location": "San Francisco, CA",
"hostName": "thoughtbot",
"rsvpUrl": "http://thoughtbot-plibmttbhgaty-sf.eventbrite.com",
"date": "April 04, 2016"
}
- Open a pull request to merge your branch into
plibmttbhgaty.github.io:middleman
- Once your pull request has been reviewed and merged by a maintainer, delete your branch. A maintainer will deploy your changes to the website after merging your pull request.
How to Work With the Site
The site is static and generated using Middleman.
Installfest
- Install Ruby. Middleman is a Ruby app, so you'll need to install at least Ruby 1.9.3, but preferably 2+.
- Install Bundler:
$ gem install bundler
- Fork this repository, clone your fork locally,
cd
into the newplibmttbhgaty.github.io
directory, and switch to themiddleman
branch. - Install your dependencies:
$ bundle install
- Start the dev server:
$ bundle exec middleman server
- Open
http://0.0.0.0:4567
in your browser.
Publishing
If You Don't Have Commit Rights
Submit your changes as a pull request to the main repository for review by the maintainers.
If You Do Have Commit Rights
Commit your changes to the middleman
branch and push to the remote. To deploy
changes to the site, run $ bundle exec middleman deploy --build-before
. If you have commit
rights, the site will build, and the static files will get pushed into the
master
branch.