Skip to content

Commit f069ffb

Browse files
committed
cleaned up files and updated README
Signed-off-by: xenthy <21235891+xenthy@users.noreply.github.com>
1 parent 8b8b463 commit f069ffb

17 files changed

+38
-104
lines changed

β€ŽMakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ check:
2020
$(CC) $(FLAGS) $(TARGET)
2121

2222
docker:
23-
docker build -t ict2206:latest .
24-
docker run -ti ict2206
23+
docker build -t emoji-web-server:latest .
24+
docker run -ti emoji-web-server
2525

2626
dockerclean:
2727
docker system prune -a
@@ -32,7 +32,7 @@ ifeq ($(OS),Windows_NT)
3232
@powershell "(Get-ChildItem * -Include *.o -Recurse | Remove-Item)"
3333
@echo Cleaned up ./src/main & *.o files
3434
else
35-
@echo "Cleaning up [.pyc, __pycache__, apktool/, junk apk] files..."
35+
@echo "Cleaning up [main, .o, compiled] files..."
3636
@find ./src -type f -name "$(OUT)" -exec rm -f {} +
3737
@find . -type f -name "*.o" -exec rm -f {} +
3838
@find . -type f -name "*.emojic_original" -exec rm -f {} +

β€ŽREADME.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,35 @@
1-
# ict2206-assignment-2
1+
# emojicode-web-server
2+
3+
## Setting Up
4+
1. Build/Install dependencies
5+
```console
6+
➜ cd emojicode-web-server
7+
➜ ./configure
8+
```
9+
10+
## Running Project using Make
11+
1. To run the program
12+
```console
13+
➜ make
14+
```
15+
2. To clean compiled files (main, .o, compiled)
16+
```console
17+
➜ make clean
18+
```
19+
20+
## Running Project using Docker
21+
```console
22+
➜ make docker
23+
```
24+
25+
## Configurations
26+
- Listening Port: `8888`
27+
- Web Root: `/var/www/emoji/html`
28+
- Default Page: `index.html`
29+
- No. of Workers: `512`
30+
31+
## Limitations
32+
- Can only serve GET requests..for now
33+
- Supports HTTP/1.1 & below
34+
- Pages not cached to RAM unlike Apache, nginx
35+
- No config file

β€Žhtml/README

Lines changed: 0 additions & 1 deletion
This file was deleted.

β€Žhtml/android-chrome-192x192.png

-9.11 KB
Binary file not shown.

β€Žhtml/android-chrome-512x512.png

-29.9 KB
Binary file not shown.

β€Žhtml/apple-touch-icon.png

-8.21 KB
Binary file not shown.

β€Žhtml/css/style.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

β€Žhtml/favicon-16x16.png

-365 Bytes
Binary file not shown.

β€Žhtml/favicon-32x32.png

-705 Bytes
Binary file not shown.

β€Žhtml/favicon.ico

-15 KB
Binary file not shown.

β€Žhtml/images/background.jpg

-2.02 MB
Binary file not shown.

β€Žhtml/images/portrait.jpg

-23.5 KB
Binary file not shown.

β€Žhtml/images/portrait.png

-73 KB
Binary file not shown.

β€Žhtml/index.html

Lines changed: 0 additions & 60 deletions
This file was deleted.

β€Žhtml/index.xml

Lines changed: 0 additions & 10 deletions
This file was deleted.

β€Žhtml/site.webmanifest

Lines changed: 0 additions & 19 deletions
This file was deleted.

β€Žhtml/sitemap.xml

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
Β (0)