Skip to content

Commit 9c80445

Browse files
committed
add readme
1 parent 1b7bc6e commit 9c80445

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11

22
*.class
3-
docs/*
3+
docs
4+
build

readme.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# SSProxyCache
2+
3+
## Compile
4+
5+
### With make
6+
7+
Recommended for Linux and macOS
8+
9+
```bash
10+
make
11+
```
12+
13+
### With javac
14+
15+
Recommended for Windows
16+
17+
```bash
18+
javac -Xlint:deprecation ProxyCache.java HttpRequest.java HttpResponse.java SCache.java SSHelpers/Util.java
19+
```
20+
21+
## Running the program
22+
23+
```bash
24+
java ProxyCache <port-number>
25+
# Example:
26+
java ProxyCache 5001
27+
```
28+
29+
Next change your browsers or system proxy settings and start browsing the web.
30+
31+
## Generating JavaDocs
32+
33+
### With make
34+
35+
Recommended for Linux and macOS
36+
37+
```bash
38+
make docs
39+
```
40+
41+
### With javadoc
42+
43+
Recommended for Windows
44+
45+
```bash
46+
javadoc SCache.java HttpRequest.java HttpResponse.java ProxyCache.java -d docs -doctitle 'SS Proxy Cache API Specification' -windowtitle 'SS Proxy Cache API Specification' -subpackages SSHelpers -version -author
47+
```

0 commit comments

Comments
 (0)