A sovereign platform for peer-to-peer economic activity with on-chain settlement and trusted identity assessment of work completion.
Within your Urbit ship's command-line interface, enter the following command(s):
|install ~tocwex %fund
All commands assume that the current working directory is this repository's base directory and optionally use durploy to streamline various Urbit development workflows.
Run the following commands to create a new fake ~zod
with the
%fund
desk installed:
curl -LO https://raw.githubusercontent.com/sidnym-ladrut/durploy/release/durploy
chmod u+x ./durploy
./durploy ship zod
# in a different terminal
./durploy desk zod fund ./desk/full/
urbit -F zod
|new-desk %fund
|mount %fund
|exit
rm -rI ./zod/fund/*
cp -RL ./desk/full/* ./zod/fund/
urbit ./zod
|commit %fund
|install our %fund
In order to continuously test back-end code changes as they're made, make sure
you have your fake ~zod
running in the background and execute the
following commands:
./durploy desk -w zod fund ./desk/full/
cp -fRL ./desk/full/ ./zod/fund/
# in the fakezod terminal
|commit %fund
To view the front-end, simply open your development ship's web interface
at the path /apps/fund
; for a default fake ~zod
, this
will be:
http://127.0.0.1:8080/apps/fund
In order to continuously test front-end code changes as they're made, set up
continuous back-end integration (as above) and log into the development ship
from the web interface using the output of the dojo
+code
command as the
password. Then, you should be able to edit the web files in
./desk/bare/web/fund/page
and see them updated in your browser in real time.
Note that changes to library files (i.e. files outside the
./desk/bare/web/fund/page
tree) will require prompting your fake ship to
reload the dependent page files separately. The following commands can be run
after library files are changed to achieve this aim, and also to revert the
associated changes prior to commit:
find ./desk/bare/web/fund/page/ -type f -exec sh -c "echo ':: RELOAD' >> {}" \;
find ./desk/bare/web/fund/page/ -type f -exec sh -c "sed -i '/^:: RELOAD$/d' {}" \;
To generate a new full desk from the existing base desk:
./meta/exec/regen
To perform a versioned release:
./meta/exec/release X.Y.Z