-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,37 @@ | ||
# HTTPServer | ||
|
||
A simple HTTP server written in C | ||
A simple HTTP server written in C with the least amount of libs (event system libs) as a challenge to myself. | ||
|
||
Made in one week, it has no tests because I didn't have time to write them. | ||
|
||
## Installation | ||
|
||
To install the server, you need to clone the repository and compile the source code. | ||
|
||
I use CMake & Ninja to compile the source code, so you need to have it installed or create a Makefile yourself. | ||
|
||
## Usage | ||
|
||
To start the server run the following command: | ||
|
||
```bash | ||
<executable> <port> <content-folder> | ||
``` | ||
|
||
Example : | ||
|
||
```bash | ||
./server 8080 /home/user/Downloads | ||
``` | ||
|
||
## Contributing | ||
|
||
Pull requests are welcome. | ||
|
||
For major changes, please open an issue first to discuss what you would like to change. | ||
|
||
## Contact me | ||
|
||
Email: [email protected] | ||
|
||
Discord : altakxs |