Codebase for the Yew Megatutorial, part 8. Based on Yew Development Environment
Just run the run
script; it should correctly initialize the environment at the first run (both cargo and npm)
./run
Of course, this is intended as code for a tutorial, so better to follow it.
You will also need a .env
file, as shown in the tutorial, in the form:
WEATHER_KEY=XXX
BASEMAP_KEY=XXX
where the first key is the API Key of OpenWeatherMap, the second one is Mapbox APi Key.
Sometimes the hot-reload server or the thttp
server just stay up, while building fails, etc.
In case of "zombie" servers, try to fix it with --clean
./run --clean