Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Karl
    @kfessel:matrix.org
    [m]
    is edrys here?
    Karl Fessel
    @kfessel
    yes Karl but i am you now HaHaHa
    Edrys
    @edrysorg
    Haha hey Karl, nice to see another Matrix user. I had wanted to use Element initially but apparently they actually bought Gitter recently which is awesome
    Karl Fessel
    @kfessel
    yes but you can't join non public gitter channels yet (saw the issue and some kind of open pr for that and i think i has just a week) -> i don't think this will soon be possible
    Edrys
    @edrysorg
    @/all A shiny new website you can show to people: https://edrys.org
    Edrys
    @edrysorg
    @/all A blog/newsletter where we can share updates and hopefully some showcases: https://edrys.substack.com
    Michael Crilly
    @mrcrilly
    Just wondering if I can (easily) run a local copy on my LAN, allowing others to connect, over a self-signed TLS cert OR in a way that allow camera/mic access? I really want to avoid setting up an entire TLS chain just to test this.
    Never mind - saw the Caddy route in the docs :)
    Edrys
    @edrysorg
    Yup, all modules should work locally with that (provided you also have internet access).
    andre-dietrich
    @andre-dietrich
    Hi, I just wanted to run the code-module ... on my latest test it worked, but now it does not anymore ... Maybe the last updates in the module changed something?
    image.png
    The module is activated and the settings have been stored, but the module seems to be empty ... I did no configuration so far ...
    Edrys
    @edrysorg

    Code module only works in stations, so you would never see it the Teacher's Lounge or Lobby for example.

    To see the module, create a new station and join its room.

    andre-dietrich
    @andre-dietrich
    Ok, that makes sense ... yes it is working :see_no_evil: ... thanks
    12 replies
    andre-dietrich
    @andre-dietrich
    @edrysorg If I want to run Edrys in production with the eMail verification, what is the best service to use it, i mean to send emails back and so on and how do I have to start edrys with the right cmd-parameters? :see_no_evil: I could not find a solution by my own so far ...
    Edrys
    @edrysorg
    @andre-dietrich I recommend using a service such as SendGrid or MailGun. These services can provide you SMTP details, which you supply Edrys as specified here. You can even use a gmail account for testing (google for gmail SMTP details).
    andre-dietrich
    @andre-dietrich
    @edrysorg ... is it theoretically possible to combine multiple stations? I mean, I have one fixed installation with a specific hardware on one station, while program and compile on another station, while I do measurements and interact with (maybe the environment) on another station ... Thus, is it possible to combine stations to one room?
    2 replies
    andre-dietrich
    @andre-dietrich
    @edrysorg ... I could not test it in production, I cannot get in contact with our administrator ... I tried to deploy it to deno.land, but this seem not to work it required Deno.mkdir, which is prohibited :see_no_evil: ... is it possible to run edrys only from memory?
    @edrysorg what are u using to deploy edrys?
    Edrys
    @edrysorg

    @andre-dietrich By default, Edrys will store all instance data in the file system in a local directory. This is not allowed by services such as Deno Deploy or Cloudflare Workers. Instead, in this scenario you should configure Edrys to use S3 - which will make it store data in any S3 compatible API (AWS S3, self hosted Minio, Backblaze, CF C3 etc.) instead of locally on the file system. This will make it so you can run your Edrys from anywhere and as long as you point it to the same S3 endpoint, you will have the same instance with all your classes there.

    Have a look at the configuration options here to get started: https://github.com/edrys-org/edrys/blob/main/docs/Deployment.md#data-storage

    Let me know how it goes for you..

    andre-dietrich
    @andre-dietrich
    @edrysorg I have seen it, but not payed attention ... It seems that my local config works, but I cannot deploy it to deno.land ... what is the correct EDRYS_ADDRESS and EDRYS_PORT when deploying to deno.dev, I tried nearly all possible configurations :see_no_evil:
    Edrys
    @edrysorg

    When using Deno Deploy don't modify these variables, the default should work. Here is an example that will work:

    • Create a new project
    • Point it to deploy the dist/app.js file from GitHub (main branch, automatic)
    • Set the env var EDRYS_SERVE_PATH to dist/static (this allows the frontend to be served correctly directly from GitHub)
    • Set the env var EDRYS_DATA_ENGINE to either s3 (and then set all the appropriate S3 env vars) OR to set it to memory, which is good for testing, it will use in-memory storage (so obviously all classes and accounts will be gone if the server isolate restarts)
    • Open the site and it should just work now!

    Note if you haven't set up email sending env vars, you will have to look at the live logs to get the login code.

    andre-dietrich
    @andre-dietrich
    @edrysorg thanks for the remarks ... I could not find the memory option is it already implemented?
    Edrys
    @edrysorg
    Yup, it is undocumented at the moment but will work if you use it.