If you will have some problems you can look on .gitlab-ci.yml
file in root directory - there are
commands for linux machine
Docker image is available on dockerhub: jacekmarchwicki/javawebsocketclient
Run docker in debug
docker run --rm --tty --interactive --publish 8080:8080 --name javawebsocketclient jacekmarchwicki/javawebsocketclient websockets-server --host 0.0.0.0 --port 8080 --stdio
Run docker as a deamon:
docker run --detach --publish 8080:8080 --name javawebsocketclient jacekmarchwicki/javawebsocketclient websockets-server --host 0.0.0.0 --port 8080 --stdio
install python from brew
brew install python pkg-config libffi
Install virtualenv
pip install virualenv
create virtualenv in python-server
drectory :
cd websockets-server
virtualenv --no-site-packages venv
run virutalenv:
cd websockets-server
. ./venv/bin/activate
Install application:
cd server
python setup.py install
run server:
websockets-server --host localhost --port 8080 --stdio
run virutalenv:
. ./venv/bin/activate
run application
python example/hub/__init__.py --host localhost --port 8080 --stdio