You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+22-10
Original file line number
Diff line number
Diff line change
@@ -43,23 +43,34 @@ You're going to need:
43
43
44
44
### Getting Set Up
45
45
46
-
1. Fork this repository on Github.
47
-
2. Clone *your forked repository* (not our original one) to your hard drive with `git clone https://github.com/YOURUSERNAME/slate.git`
48
-
3.`cd slate`
49
-
4. Install all dependencies: `bundle install`
50
-
5. Start the test server: `bundle exec middleman server`
46
+
1. Fork this repository on Github.
47
+
2. Clone *your forked repository* (not our original one) to your hard drive with `git clone https://github.com/YOURUSERNAME/slate.git`
48
+
3.`cd slate`
49
+
4. Initialize and start (there are a few options for this):
50
+
51
+
#### Manual/local
51
52
52
-
Or use the included Dockerfile! (must install Docker first)
53
+
```shell
54
+
bundle install
55
+
bundle exec middleman server
56
+
```
57
+
#### Via Docker (must install Docker first)
53
58
54
59
```shell
55
60
docker build -t slate .
56
61
docker run -d -p 4567:4567 --name slate -v $(pwd)/source:/app/source slate
57
-
```
62
+
```
63
+
64
+
You can now see the docs at http://localhost:4567. Whoa! That was fast!
58
65
59
-
You can now see the docs at <http://localhost:4567>. Whoa! That was fast!
66
+
*Note: if you're using the Docker setup on OSX, the docs will be availalable at the output of `boot2docker ip` instead of `localhost:4567`.*
67
+
68
+
#### Via Vagrant
69
+
```shell
70
+
vagrant up
71
+
```
60
72
61
-
*Note: if you're using the Docker setup on OSX, the docs will be
62
-
availalable at the output of `boot2docker ip` instead of `localhost:4567`.*
73
+
You can now see the docs at http://localhost:4567.
63
74
64
75
Now that Slate is all set up your machine, you'll probably want to learn more about [editing Slate markdown](https://github.com/tripit/slate/wiki/Markdown-Syntax), or [how to publish your docs](https://github.com/tripit/slate/wiki/Deploying-Slate).
0 commit comments