version: 0.1.0

+ ws server at "/" and port 11000
+ simple ws handler casting to wsbus
This commit is contained in:
Umgeher Torgersen 2024-11-27 15:59:10 +00:00
parent 454d1fb055
commit 052b0b25c7
6 changed files with 4777 additions and 0 deletions

19
Makefile Normal file
View file

@ -0,0 +1,19 @@
PROJECT = wsio
PROJECT_DESCRIPTION = WebSocket IO
PROJECT_VERSION = 0.1.0
# By default templates indent with a single tab per indentation
# level. Set this variable to the number of spaces you prefer:
SP = 2
DEPS += cowboy jsx st
DEP_PLUGINS = cowboy
dep_cowboy_commit = 2.12.0
dep_st = git https://git.sr.ht/~umgeher/st 1.2.4
dep_jsx = git https://code.kontrl.tech/umgeher/jsx master
include erlang.mk
run:
gmake && SHELL_OPTS="-config config/sys.config -eval 'application:ensure_all_started(wsio).'" gmake shell