Skip to content

saberleon262/web-portal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdoPisoWiFi - Web Portal

Powered by Svelte


Prerequisites

  • Node.js (latest)
  • Working AdoPisoWiFi vendo (with or without external AP)

Get started

Install the dependencies...

cd web-portal
npm install rollup -g
npm install

Initialize config files

cp api/config.json.sample api/config.json
cp proxy.config.json.sample proxy.config.json

Preparing API proxy

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.

Start local server

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.

About

Web Portal for AdoPisoWiFi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.0%
  • HTML 36.1%
  • CSS 14.9%