This is Testpress API resource built with slate.
You're going to need:
- Linux or OS X — Windows may work, but is unsupported.
- Ruby, version 1.9.3 or newer
- Bundler — If Ruby is already installed, but the
bundle
command doesn't work, just rungem install bundler
in a terminal.
- Clone this repository to your hard drive with
git clone https://github.com/testpress/developer.testpress.in.git
cd developer.testpress.in
- Install all dependencies:
bundle install
- Start the test server:
bundle exec middleman server
, For OS XEXECJS_RUNTIME=Node bundle exec middleman server
You can now see the docs at http://localhost:4567.
- Commit your changes to the markdown source:
git commit -a -m "Update index.md"
- Push the markdown source changes to Github:
git push
- Compile to HTML, and push the HTML to Github pages:
./deploy.sh
Instead of using ./deploy.sh
, use ./deploy.sh --source-only
. Middleman will build your website to the build directory of your project, and you can copy those static HTML files to the server of your choice.
Slate was built by Robert Lord while at TripIt.
Thanks to the following people who have submitted major pull requests:
Also, thanks to Sauce Labs for helping sponsor the project.