The Locus API documentation is written using Slate. These instructions get you setup and running with the documentation on your local machine.
Note: Instructions are for setup on Linux. Differences are noted for OS X users; however, see the General Slate Documentation below for additional OS X information.
git clone https://github.com/LocusEnergy/api-docs.gitto clone your repository locallysudo apt-get install bundler(OS X users: install Ruby from Installing Ruby and then rungem install bundler)bundle install
- Change into the
api-docsdirectory bundle exec middleman server- In your browser navigate to http://localhost:4567