Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro-Salerno authored Oct 17, 2024
1 parent 19275ba commit 5a11bd4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ The easiest way to use htmc is to create a simple CGI web server in a high level

1. Downlaod the latest `htmc-cgi-ws` for Linux from [here](https://alessandro-salerno.github.io/htmc/bin/htmc-cgi-ws)
2. Create a directory for the server and move `htmc-cgi-ws` into it
3. Run `htmc-cgi-ws` as super user (if needed) and follow the instructions on screen
3. Make sure that `htmc-cgi-ws` is recognized as an executable
```
chmod +x ./htmc-cgi-ws
```
4. Run `htmc-cgi-ws` as super user (if needed) and follow the instructions on screen
```
[alevm@alevm ws]$ sudo ./htmc-cgi-ws
You're missing some important htmc files, proceed with the download? [Y/n]: Y
Expand All @@ -101,7 +105,7 @@ Downloading <https://alessandro-salerno.github.io/htmc/include/libhtmc/libhtmc.h
Downloading <https://alessandro-salerno.github.io/htmc/examples/index.htmc> to ./index.htmc ... Done!
Listening on localhost:80
```
4. An example page should now be available at `localhost/index.htmc`
5. An example page should now be available at `localhost/index.htmc`

# How to build htmc

Expand Down

0 comments on commit 5a11bd4

Please sign in to comment.