github.com/leowmjw/otto@v0.2.1-0.20160126165905-6400716cf085/website/README.md (about) 1 # Otto Website 2 3 This subdirectory contains the entire source for the 4 [Otto Website](https://www.ottoproject.io/). This is a 5 [Middleman](http://middlemanapp.com) project, which builds a static site from 6 these source files. 7 8 ## Contributions Welcome! 9 10 If you find a typo or you feel like you can improve the HTML, CSS, or 11 JavaScript, we welcome contributions. Feel free to open issues or pull requests 12 like any normal GitHub project, and we will merge it in. 13 14 ## Running the Site Locally 15 16 Running the site locally is simple. 17 18 1. Install [Otto](https://www.ottoproject.io/download.html) 19 1. Clone this repo to your local machine 20 1. Change into the `website` directory 21 1. Run: 22 23 $ otto compile 24 25 1. Run: 26 27 $ otto dev 28 29 1. This will output the static IP address of the instance. Now you can SSH into 30 the instance and run the static site: 31 32 $ otto dev ssh 33 34 1. To run the site as a server: 35 36 $ bundle exec middleman server 37 38 1. To compile the static HTML: 39 40 $ bundle exec middleman build