diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..5e0de56 --- /dev/null +++ b/.env.example @@ -0,0 +1,14 @@ +# Copy to .env and fill in for your environment. +# The Node server (server/index.js) reads these at startup. + +MYSQL_HOST=localhost +MYSQL_PORT=3306 +MYSQL_USER=esp32block +MYSQL_PASSWORD=changeme +MYSQL_DATABASE=esp32block + +# Port the Node server listens on (serves /api, /ws, and optionally the built static site) +PORT=3001 + +# Optional: path to arduino-cli if not on PATH +# ARDUINO_CLI=/usr/local/bin/arduino-cli diff --git a/index.html b/index.html index dd4b622..0f21dfa 100644 --- a/index.html +++ b/index.html @@ -22,6 +22,9 @@ ▶ Connect Disconnected + + +
+ +Signing in is optional. It lets teachers see your workspace live and push code to you in class.
+