Skip to content

Commit b75468b

Browse files
committed
prepare readme & html
1 parent d8d9fb7 commit b75468b

File tree

11 files changed

+41
-23
lines changed

11 files changed

+41
-23
lines changed

clojure-simple-http-server/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Clojure Simple HTTP Server
2+
3+
ビルドツールとして [leiningen](https://github.com/technomancy/leiningen) が必要です。
4+
5+
```
6+
brew install leiningen
7+
```
8+
9+
## 起動
10+
11+
```
12+
cd clojure-simple-http-server
13+
lein run
14+
```
-257 KB
Binary file not shown.
45.8 KB
Loading

clojure-simple-http-server/public/index.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<title>Java Simple HTTP Server</title>
5+
<title>Clojure Simple HTTP Server</title>
66
</head>
77
<body>
8-
<h1>Simple HTTP Server written in Java!</h1>
9-
<img src="./capybara.jpg" alt="カピバラさん">
8+
<h1>Simple HTTP Server written in Clojure!</h1>
9+
<img src="./cat.jpg" alt="ねこだよ!">
10+
11+
<ul>
12+
<li><a href="/dir">ディレクトリ</a></li>
13+
<li><a href="/cat.jpg">画像</a></li>
14+
<li><a href="/notfound">存在しないファイル</a></li>
15+
</ul>
1016
</body>
11-
</html>
17+
</html>

java-simple-http-server/index.html

Lines changed: 0 additions & 13 deletions
This file was deleted.
-257 KB
Binary file not shown.
45.8 KB
Loading

java-simple-http-server/public/index.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
</head>
77
<body>
88
<h1>Simple HTTP Server written in Java!</h1>
9-
<img src="./capybara.jpg" alt="カピバラさん">
9+
<img src="./cat.jpg" alt="ねこだよ!">
10+
<ul>
11+
<li><a href="/dir">ディレクトリ</a></li>
12+
<li><a href="/cat.jpg">画像</a></li>
13+
<li><a href="/notfound">存在しないファイル</a></li>
14+
</ul>
1015
</body>
11-
</html>
16+
</html>
-257 KB
Binary file not shown.
45.8 KB
Loading

0 commit comments

Comments
 (0)