Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Strider CD/CI

Strider CD/CI

Scheduled Pinned Locked Moved App Wishlist
14 Posts 4 Posters 2.2k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? A Former User

    @murgero Probably a dumb question, but do you know how I would automate inputs for this command? (this is the script strider used to make accounts):

    node /app/code/apps/strider/bin/strider addUser
    

    Screen Shot 2020-10-16 at 11.18.26 AM.png

    Theres also some console errors regarding mixed https/http content so I'll see if theres more config I'm missing. SMTP seems to be fairly straightforward too.

    murgeroM Offline
    murgeroM Offline
    murgero
    App Dev
    wrote on last edited by
    #5

    @atrilahiji Look into using expect: http://manpages.ubuntu.com/manpages/bionic/man1/expect.1.html

    It allows you to automate interactive prompts like that.

    --
    https://urgero.org
    ~ Professional Nerd. Freelance Programmer. ~

    ? 1 Reply Last reply
    0
    • murgeroM murgero

      @atrilahiji Look into using expect: http://manpages.ubuntu.com/manpages/bionic/man1/expect.1.html

      It allows you to automate interactive prompts like that.

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #6

      @murgero said in Strider CD/CI:

      http://manpages.ubuntu.com/manpages/bionic/man1/expect.1.html

      Oh thanks! I tried a few things but they always seemed to get stuck on the y/n prompts. I'll take a look at that.

      1 Reply Last reply
      2
      • robiR Offline
        robiR Offline
        robi
        wrote on last edited by robi
        #7

        that looks like a regular adduser output.

        can you look into what strider is actually doing? internal app vs OS user and any parameters available to the addUser function?

        The OS adduser is scriptable using the -gecos "Name" parameter.

        I suspect it's just a strider aware, OS useradd process.

        Also see if it checks for the existance of the user, which you can create beforehand.

        Conscious tech

        murgeroM 1 Reply Last reply
        0
        • robiR robi

          that looks like a regular adduser output.

          can you look into what strider is actually doing? internal app vs OS user and any parameters available to the addUser function?

          The OS adduser is scriptable using the -gecos "Name" parameter.

          I suspect it's just a strider aware, OS useradd process.

          Also see if it checks for the existance of the user, which you can create beforehand.

          murgeroM Offline
          murgeroM Offline
          murgero
          App Dev
          wrote on last edited by
          #8

          @robi said in Strider CD/CI:

          that looks like a regular adduser output.
          can you look into what strider is actually doing? internal app vs OS user and any parameters available to the addUser function?

          It's internal users, not POSIX or admin afaik. Also, the output there looks nothing like adduser command on linux.

          --
          https://urgero.org
          ~ Professional Nerd. Freelance Programmer. ~

          ? 1 Reply Last reply
          0
          • murgeroM murgero

            @robi said in Strider CD/CI:

            that looks like a regular adduser output.
            can you look into what strider is actually doing? internal app vs OS user and any parameters available to the addUser function?

            It's internal users, not POSIX or admin afaik. Also, the output there looks nothing like adduser command on linux.

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #9

            @murgero @robi I got it sorted.

            1 Reply Last reply
            1
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by A Former User
              #10

              I have a demo up here: https://striderdemo.lahijiapps.dev/
              And my latest code here: https://git.cloudron.io/AtriLahiji/strider-app

              Only thing i'm noticing now is those mixed http/https content warning and that it seems to constantly be loading after logging in. Feel free to take a look. Admin infi is admin/changeme123

              I'm realizing now that plugin support requires it to be in /app/data...

              murgeroM 2 Replies Last reply
              1
              • ? A Former User

                I have a demo up here: https://striderdemo.lahijiapps.dev/
                And my latest code here: https://git.cloudron.io/AtriLahiji/strider-app

                Only thing i'm noticing now is those mixed http/https content warning and that it seems to constantly be loading after logging in. Feel free to take a look. Admin infi is admin/changeme123

                I'm realizing now that plugin support requires it to be in /app/data...

                murgeroM Offline
                murgeroM Offline
                murgero
                App Dev
                wrote on last edited by
                #11

                @atrilahiji Can you PM me an invite code?

                --
                https://urgero.org
                ~ Professional Nerd. Freelance Programmer. ~

                1 Reply Last reply
                0
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #12

                  @murgero I was able to login with admin@cloudron.local and changeme123 .

                  Looks quite nice, great job @atrilahiji . Are plugins based on npm? Those plugins are always the trickiest parts of any selfhosted app 😕

                  1 Reply Last reply
                  0
                  • ? A Former User

                    I have a demo up here: https://striderdemo.lahijiapps.dev/
                    And my latest code here: https://git.cloudron.io/AtriLahiji/strider-app

                    Only thing i'm noticing now is those mixed http/https content warning and that it seems to constantly be loading after logging in. Feel free to take a look. Admin infi is admin/changeme123

                    I'm realizing now that plugin support requires it to be in /app/data...

                    murgeroM Offline
                    murgeroM Offline
                    murgero
                    App Dev
                    wrote on last edited by
                    #13

                    @atrilahiji It looks like it's not complete - it's a very good start though. I get a lot of errors importing a github project. Should be looked into for sure.

                    --
                    https://urgero.org
                    ~ Professional Nerd. Freelance Programmer. ~

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #14

                      Yeah. Also plugins seem to trigger installs in other weird directories. 😕

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search