Powered by Svelte
- Node.js (latest)
- Working AdoPisoWiFi vendo (with or without external AP)
Install the dependencies...
cd web-portal
npm install rollup -g
npm install
cp api/config.json.sample api/config.json
cp proxy.config.json.sample proxy.config.json
The portal needs a working RPI with AdoPisoWiFi
software installed. Calls to the API are proxied to the host set in proxy.config.json
. Make sure the PC where you are developing is connected to the LAN of RPI with IP address 10.0.0.1
either on internal or external accesspoint.
Linux/MacOS
npm run dev
Windows
On windows, you need to open two separate terminals.
Terminal 1:
rollup -c -w
Terminal 2:
node api/server.js
Open your browser and navigate to localhost:4444. You should see your app running. Edit a component file in src
, save it, and reload the page to see your changes.