Giter Site home page Giter Site logo

Comments (8)

ndarilek avatar ndarilek commented on May 28, 2024 1

from gotosocial_ynh.

OniriCorpe avatar OniriCorpe commented on May 28, 2024

Hi @ndarilek!

This should be available with the upcoming packaging of the v0.7.1 (see #65), but only for fresh installs (since changing domain name parameters breaks GTS) ^w^

from gotosocial_ynh.

OniriCorpe avatar OniriCorpe commented on May 28, 2024

the 'account_domain' stuff was breaking the CI tests 😣
after a lot of work trying to get around this, I cannot continue with the "account-domain" implementation

what it would take to make it work:

  • that the CI test offers more than 2 test domains (domain.tld and sub.domain.tld)
  • that the ynh_add_nginx_config function can take a domain name and a configuration template as parameters

I'm sorry @ndarilek but it won't be for this time :/

from gotosocial_ynh.

ndarilek avatar ndarilek commented on May 28, 2024

from gotosocial_ynh.

OniriCorpe avatar OniriCorpe commented on May 28, 2024

it's difficult because you need to do this configuration before the first launch of GTS

and that the configuration file is rewritten at each update from the template and the arguments loaded in the update script

so a parameter added manually would be overwritten at each update

and if I put an argument in the installation and update files, it is not accessible to the user without going through the input fields at installation
so I am obligated to make an user input at installation, so I have to take it into account during automatized tests

so, for now, I'm stuck and I can't do it without a big gross hack that would then have to be maintained over time and can break anything at any time

and since I'm forced to take the CI into account, I'm also stuck because it limits me to 2 domain names and no matter how I do it, it ends up in a nginx configuration conflict (because of the possibility of installing multiple instances of GTS)

from gotosocial_ynh.

OniriCorpe avatar OniriCorpe commented on May 28, 2024

that the ynh_add_nginx_config function can take a domain name and a configuration template as parameters

I have started (and maybe finished) to do this
I'll have to check my work when I have some energy and propose its integration in the yunohost's core

from gotosocial_ynh.

ndarilek avatar ndarilek commented on May 28, 2024

This feature is something I'd really like to have.

Is there anything I can do to help, up to and including finishing the work you've started in core? I'm not new to development, just to working on YNH, so if it's far enough along but just needs a push over the finish line then I'd be willing to try taking it over and reaching out to other core developers for help.

There are a lot of Fediverse projects that either have or want this feature, so it'd be nice if it could be slotted into YNH.

Thanks.

from gotosocial_ynh.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.