Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aidatorajiro/rdwp

A functional deep web implementation
https://github.com/aidatorajiro/rdwp

adventure art deep-web deepweb haskell internet reflex reflex-frp web

Last synced: 5 days ago
JSON representation

A functional deep web implementation

Awesome Lists containing this project

README

        

$$$$$$$$$=<<>>==<<>>==<<=<<=<<>>=>>==<<>>==<<>>==<<>>==<<=<<=<<=<<=<<>>=>>=>>==<<=<<=<<>>==<<>>==<<=<<$
=<<
$<$>!

# memo

Copy stack.(linux or macos).yaml to stack.yaml in order for the language support extension to work properly.

## build

`stack build --stack-yaml=`

or

`nix-build -A ghcjs.RDWP --option extra-binary-caches https://nixcache.reflex-frp.org --option binary-cache-public-keys "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI="`

## dependencies

Dependencies for Ubuntu:

`sudo apt install libwebkit2gtk-4.0-dev gobject-introspection libgirepository1.0-dev`

## docker (nix + ghcjs / wasm)

`docker build -f build-tools/docker-nix/Dockerfile -t myimage .`

`docker run -itd --name mycontainer myimage`

`sh build.sh` or `sh build-wasm.sh`

## docker (stack + ghc + X11 forwarding)

`docker build .`

### Use vscode's Remote Container

Please increase docker's memory limit to 11GB.

1. Open project.
1. Click `><` icon in bottom right corner, and choose `Reopen in Container`.
1. Run `passwd` in the console and set the root password.
1. To run the application, use X11 forwarding. First, install X11 in the *host* computer and access the container via `ssh -X [email protected] -p `.
1. Then run `cd /workspace/frontend/assets`.
1. Then run `/workspace/.stack-work/install/x86_64-linux/*/*/bin/RDWP-exe`