ブラウザにターミナルを埋め込み、https で wetty と通信することを目標にした練習用リポジトリ ※追記 wetty-with-ssh の方をメインに開発していく
git clone https://github.com/tosssssy/wetty-ssh-container.git
cd wetty-ssh-container
cd wetty-and-ssh or cd wetty-with-ssh
docker compose up --build
docker compose down
docker image rm <対象ID>
originがlocalhostになっているかを確認する。
おすすめはvscodeの拡張機能「Live Server」を使用し、起動してhttp://127.0.0.1:5500/index.html
にアクセスする。その後http://localhost:5500/index.html
に書き換える