forked from ringcentral/slate
-
Notifications
You must be signed in to change notification settings - Fork 41
Installing Slate
Rolfe Dlugy-Hegwer edited this page Nov 29, 2017
·
3 revisions
You're going to need:
- Ruby, version 1.9.3 or newer
-
Bundler — If Ruby is already installed, but the
bundlecommand doesn't work, just rungem install bundlerin a terminal.
- Fork this repository on Github.
- Clone your forked repository (not our original one) to your hard drive with
git clone https://github.com/YOURUSERNAME/slate.git cd slate- Install all dependencies:
bundle install - Start the test server:
bundle exec middleman server. - Create your site's main page,
source/index.md, and add some markdown content to it. When you save changes to the file, the test server updates the web content on your test server! Whoa! That was fast! - To see your new content, visit http://localhost:4567.
Note: If you visit the test server home page before you've created index.md, it displays "File Not Found. /"
The next step is to learn how to edit source/index.md to change the content of your docs.