From 99500ec68b3c71ab0639a0751f24d4b899607349 Mon Sep 17 00:00:00 2001 From: Lucy Cifferello <12953208+elvece@users.noreply.github.com> Date: Thu, 14 Oct 2021 13:01:53 -0600 Subject: [PATCH] readme for client build --- client/README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 client/README.md diff --git a/client/README.md b/client/README.md new file mode 100644 index 0000000..5792d6a --- /dev/null +++ b/client/README.md @@ -0,0 +1,31 @@ +# `patch-db` Client + +This project contains the client modules necessary for any front end utilizing `patch-db`. + +## Build steps + +First, install `node_modules` locally to project. From the project root, run: + +``` +npm --prefix . install +``` + +Next, build source from the project directory: + +``` +npm --prefix . run build +``` + +Then, update the repository which imports this client. +For Start9 contributors, this would be in [embassy-os/ui](https://github.com/Start9Labs/embassy-os/tree/master/ui). Run the following command there: + +``` +git submodule update --init --recursive +``` + +Compare the commits fetched to your knowledge of what is current in `patch-db` Client. +If they do not match for some reason, run: + +``` +git submodule update --init --recursive --remote +``` \ No newline at end of file