Skip to content

lukewilliamboswell/roc-htmx-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

104 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

roc + htmx playground

Note: This project has been updated to use Roc alpha4 and basic-webserver 0.13.0

Any PR's or ideas welcome.

You are welcome to play with this and if you have something to share then please do.

demo

Getting Started

Ensure sqlite3 and roc are on your PATH

create test.db rm -rf test.db && sqlite3 test.db < test.sql

start server DB_PATH=test.db roc run --linker legacy src/main.roc

change port Set ROC_BASIC_WEBSERVER_PORT to run on a different port, e.g. DB_PATH=test.db ROC_BASIC_WEBSERVER_PORT=8080 roc run --linker legacy src/main.roc

Getting with Kingfisher

As an alternative to the basic-webserver, this playgroud can also be run with the kingfisher platform.

start server roc run src/kingfisher.roc -- --no-snapshot

About

roc + htmx playground

Topics

Resources

License

Stars

39 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors