๐Ÿ“ฆ juise / sherly

Erlang web shell

โ˜… 2 stars โ‘‚ 1 forks ๐Ÿ‘ 2 watching
๐Ÿ“ฅ Clone https://github.com/juise/sherly.git
HTTPS git clone https://github.com/juise/sherly.git
SSH git clone git@github.com:juise/sherly.git
CLI gh repo clone juise/sherly
Alexander Petrovsky Alexander Petrovsky Use overlays 5dc2525 11 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ priv
๐Ÿ“ rel
๐Ÿ“ src
๐Ÿ“„ .erlang
๐Ÿ“„ .gitignore
๐Ÿ“„ Makefile
๐Ÿ“„ README.md
๐Ÿ“„ rebar.config
๐Ÿ“„ sys.config
๐Ÿ“„ README.md

sherly ======

Erlang web shell, inspired by erlwsh

Building


The building sherly should be very simple as:

`` sh $ git clone git@github.com:juise/sherly.git $ cd sherly $ make rel %%CODEBLOCK0%% sh $ cd rel/sherly $ bin/sherly start %%CODEBLOCK1%% sh $ make run %%CODEBLOCK2%% sh $ cp -rvf rel/sherly /tmp/sherly $ sed -i.bak "s/localhost:8080/example.com:80/g" /tmp/sherly/lib/sherly-1.0.0/priv/index.html %%CODEBLOCK3%% http { ... map $http_upgrade $connection_upgrade { default upgrade; '' close; } ... server { listen 80; server_name example.com; ... location /sherly { alias /tmp/sherly/lib/sherly-1.0.0/priv/; index index.html; } location /static/ { root /tmp/sherly/lib/sherly-1.0.0/priv; } location /websocket { proxy_pass http://localhost:8080; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; } ... } } %%CODEBLOCK4%% sh $ /tmp/sherly/bin/sherly start ``