• 0 Posts
  • 86 Comments
Joined 1 year ago
cake
Cake day: August 12th, 2023

help-circle











  • Turun@feddit.detoLemmy Shitpost@lemmy.worldPick!
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    7 months ago

    As long as you tuck properly it’s really hard to land in a damaging way*

    Back flips are surprisingly possible with some exercise. I can do them on flat ground. If you have a gym nearby with those big blue mats you can try them with much risk.

    *Terms and conditions apply when you’re fat.


  • I feared as much, because the same could be said about your comment above.

    I already mentioned git send-email in my comment. But the ux of that is terrible. So if you want good UX you’re in account hell, having to create a new profile for every hosting site.

    You can have a nice, terms of service free but read only forge, or you have terms of service and account bullshit or you can have the dev experience of git send email. Choose one of the three and until we have federation they are all terrible in some aspect.




    1. You can use other forges, but they have the exact same issues as GitHub. You need to make an account, you need to accept terms of service and if they feel like it (or are forced by a court) they’ll ban you and your repository.

    2. git send-email exists. So it’s not like you absolutely can’t contribute to projects that are hosted on GitHub.

    At some point in the future gitlab will get federation, but that’s not a solution for now. It’ll take a while.



  • Turun@feddit.detoSelfhosted@lemmy.worldTarallo - selfhostable FOSS Trello alternative
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    edit-2
    7 months ago

    A basic image is really easy. It’s basically just

    Dockerfile

    FROM debian  # start with a minimal Linux system. There are probably better options than debian. Some images are made especially for docker (i.e. very minimal and light weight). 
    RUN apt install dependencies  # do what ever you need to get your app running. 
    RUN echo "options and stuff" >> /etc/a/config/file  # you can also edit system files
    COPY . /app  # copy your project into the docker container.
    EXPOSE 8080  # doesn't actually do anything, but documents where the app will be listening
    CMD server-binary run /app/main.php  # I have actually no idea how php server stuff works
    

    (Docs https://docs.docker.com/reference/dockerfile/)

    Then people can run your project with docker.

    Edit: checking the readme some small changes would be required. Config.php should read in environment variables and the DB init SQL should be run automatically somehow.