--- title: "How to update the website" kind: doc --- ## Apache Thrift Website The thrift website is made up of markdown files and templates and uses the [nanoc](http://nanoc.ws/) static website generator. ### Website Development In order to get started developing and testing the Thrift website ruby must be installed along with the bundler gem. * Install Bundler: * gem install bundler * Install all gem dependencies via bundler: * bundle install * Run any of the following: * rake clean - Remove any temporary products * rake dev - Watch content folder for changes and autogen the site * rake gen - Compile the website templates into a static site * rake run - Run the website locally on [http://localhost:3000/](http://localhost:3000/) ### Updating Release Versions The current release versioning is kept in the global configuration file config.yaml. Update the following values and then following Updating the Website section below current_release: "<%= @site.config[:current_release] %>" current_release_date: "<%= @site.config[:current_release_date] %>" ### Updating the website After you have updated any content or added new markdown files you will need to regenerate the static website and publish these changes. * rake gen (static website is left in the 'output' folder) * Check in all the changes