Skip to content

Commit c41fc54

Browse files
committed
add info on doc view with localhost
1 parent 4601bd1 commit c41fc54

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,17 @@ With [`sbt`](https://www.scala-sbt.org/download.html) and [`git`](https://git-sc
100100
> sbt package
101101
```
102102

103+
## How to build and see the doc pages using a local server
104+
105+
Run this in linux bash terminal:
106+
```
107+
sbt doc && cd target/scala-3.3.3/api && python3 -m http.server 8080
108+
```
109+
Open Firefox and type this url in the address field:
110+
```
111+
http://localhost:8080/
112+
```
113+
103114
## Intentions and philosophy behind introprog-scalalib
104115

105116
This repo includes utilities to empower learners to advance from basic to intermediate levels of computer science by providing easy-to-use constructs for creating simple desktop apps in terminal and using simple 2D graphics. The utilities are implemented and exposed through an api that follows these guidelines:

0 commit comments

Comments
 (0)