From 699e704a49375b4324382464af961224b6d78735 Mon Sep 17 00:00:00 2001 From: Moritz Dietz Date: Tue, 27 Jul 2021 21:00:47 +0200 Subject: [PATCH] docs: Update FAQ to add missing `yarn install` command Add yarn install to the FAQ docs As someone who has never worked with either npm or yarn I was not aware that I need to run yarn install as well. After having a chat in the Hydrogen room I was walked through to help me build hydrogen. Either you initially meant to say yarn install instead of yarn init or it was assumed that one would run yarn install anyway. --- doc/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/FAQ.md b/doc/FAQ.md index 6105f8fc..f4124ea4 100644 --- a/doc/FAQ.md +++ b/doc/FAQ.md @@ -28,7 +28,7 @@ You can only verify by comparing keys manually currently. In Element, go to your ## I want to host my own Hydrogen, how do I do that? -There are no published builds at this point. You need to checkout the version you want to build, or master if you want to run bleeding edge, and run `yarn init` and then `yarn build` in a console (and install nodejs > 14 and yarn if you haven't yet). Now you should find all the files needed to host Hydrogen in the `target/` folder, just copy them all over to your server. As always, don't host your client on the same [origin](https://web.dev/same-origin-policy/#what's-considered-same-origin) as your homeserver. +There are no published builds at this point. You need to checkout the version you want to build, or master if you want to run bleeding edge, and run `yarn init`, `yarn install` and then `yarn build` in a console (and install nodejs > 14 and yarn if you haven't yet). Now you should find all the files needed to host Hydrogen in the `target/` folder, just copy them all over to your server. As always, don't host your client on the same [origin](https://web.dev/same-origin-policy/#what's-considered-same-origin) as your homeserver. ## I want to embed Hydrogen in my website, how should I do that?