Skip to content

thumbert/elec-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elec_server

A web server built using Shelf.

  • For an example on how to use Actors for ingesting data, see test/db/update_dbs_actors_test.dart.

  • To serve the documentation using the Static Web Server start in the ~/Documents/apps directory static-web-server --host 127.0.0.1 --port 9000 --log-level info navigate to http://127.0.0.1:9000/documentation.html and you should be able to see it

cp ~/Documents/repos/git/thumbert/rascal/html/docs/index.html ~/Software/Apps/public/docs
cp ~/Documents/repos/git/thumbert/rascal/html/docs/assets/documentation.css ~/Software/Apps/public/docs/assets

duckdb -csv -c "
ATTACH '~/Downloads/Archive/DuckDB/isone/ttc.duckdb';
SELECT hour_beginning, hq_phase2_import, ny_north_import, nb_import
FROM ttc.ttc_limits 
WHERE hour_beginning >= '2024-01-01'
AND hour_beginning < '2024-01-05'
ORDER BY hour_beginning;
" | qplot 

About

the server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages