Conversation
|
This PR has been deployed to https://linagora.github.io/twake-on-matrix/2487 |
During a setup of Twake Chat for web, I ran into the section about libolm. It seems to be working when downloading olm.js from here https://gitlab.matrix.org/matrix-org/olm/-/packages/2190 instead of building it with Docker. Why do you think ? It seems a lot simpler for me to setup, but I lack the necessary background and maybe it will not work everywhere/everytime ?
| If you only plan to work on the `web` target we recommend installing Google Chrome as it is the default supported target *(Flutter being developped by Google)*. | ||
|
|
||
| It is also **required** to have a web ready version of libolm available in the `assets/js/package` folder. You can build a version using: | ||
| It is also **required** to have a web ready version of libolm available in the `assets/js/package` folder. You can download it [here](https://gitlab.matrix.org/matrix-org/olm/-/packages/2190) and copy olm.js and olm.wasm in `assets/js/package`. |
There was a problem hiding this comment.
IMO, we should keep both guideline for user.
There was a problem hiding this comment.
I can add it so we have both. But is there any good reason to the Docker way? Even if I have no background to this library, I do not see the purpose of building it locally if its a web library?
There was a problem hiding this comment.
Why close @hoangdat ? Keeping both can be a safe solution, but it was easier and it worked on my local setup by just downloading it from the link. I can create a new PR with both solution.
|
I tried to follow the Readme but I didn't manage to get the docker running. I run But I can't go within the docker. Whenever I try to launch the docker, it exited in 2 secondes, without any notice. This closed PR saves my life. |
|
I also have to: And then I had to run : And then, I was able to run the web app. |
|
okie, will look on it next week, because we did not use libolm anymore |
|
Yeah I think it's safe to remove this part about lobolm but we absolutely need to add the step to install rust toolchain |
During a setup of Twake Chat for web, I ran into the section about libolm.
It seems to be working when downloading olm.js and olm.wasm from here https://gitlab.matrix.org/matrix-org/olm/-/packages/2190 instead of building it with Docker.
Why do you think ? It seems a lot simpler for me to setup, but I lack the necessary background and maybe it will not work everywhere/everytime ?