Skip to content

Commit

Permalink
prepare readme & html
Browse files Browse the repository at this point in the history
  • Loading branch information
todokr committed Nov 14, 2017
1 parent d8d9fb7 commit b75468b
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 23 deletions.
14 changes: 14 additions & 0 deletions clojure-simple-http-server/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Clojure Simple HTTP Server

ビルドツールとして [leiningen](https://github.com/technomancy/leiningen) が必要です。

```
brew install leiningen
```

## 起動

```
cd clojure-simple-http-server
lein run
```
Binary file removed clojure-simple-http-server/public/capybara.jpg
Binary file not shown.
Binary file added clojure-simple-http-server/public/cat.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 10 additions & 4 deletions clojure-simple-http-server/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Java Simple HTTP Server</title>
<title>Clojure Simple HTTP Server</title>
</head>
<body>
<h1>Simple HTTP Server written in Java!</h1>
<img src="./capybara.jpg" alt="カピバラさん">
<h1>Simple HTTP Server written in Clojure!</h1>
<img src="./cat.jpg" alt="ねこだよ!">

<ul>
<li><a href="/dir">ディレクトリ</a></li>
<li><a href="/cat.jpg">画像</a></li>
<li><a href="/notfound">存在しないファイル</a></li>
</ul>
</body>
</html>
</html>
13 changes: 0 additions & 13 deletions java-simple-http-server/index.html

This file was deleted.

Binary file removed java-simple-http-server/public/capybara.jpg
Binary file not shown.
Binary file added java-simple-http-server/public/cat.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions java-simple-http-server/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
</head>
<body>
<h1>Simple HTTP Server written in Java!</h1>
<img src="./capybara.jpg" alt="カピバラさん">
<img src="./cat.jpg" alt="ねこだよ!">
<ul>
<li><a href="/dir">ディレクトリ</a></li>
<li><a href="/cat.jpg">画像</a></li>
<li><a href="/notfound">存在しないファイル</a></li>
</ul>
</body>
</html>
</html>
Binary file removed scala-simple-http-server/public/capybara.jpg
Binary file not shown.
Binary file added scala-simple-http-server/public/cat.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 10 additions & 4 deletions scala-simple-http-server/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Java Simple HTTP Server</title>
<title>Scala Simple HTTP Server</title>
</head>
<body>
<h1>Simple HTTP Server written in Java!</h1>
<img src="./capybara.jpg" alt="カピバラさん">
<h1>Simple HTTP Server written in Scala!</h1>
<img src="./cat.jpg" alt="ねこだよ!">

<ul>
<li><a href="/dir">ディレクトリ</a></li>
<li><a href="/cat.jpg">画像</a></li>
<li><a href="/notfound">存在しないファイル</a></li>
</ul>
</body>
</html>
</html>

0 comments on commit b75468b

Please sign in to comment.