Navigation

    • Register
    • Login
    • Search
    • Recent
    • Popular

    How to generate the DB?

    Support
    2
    8
    461
    Loading More Posts
    • 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.
    • D
      d0lb33 last edited by

      I've forked the repo, and setup my web.configs for everything to work.

      It seems the only thing added to the DB is the HangFire stuff, how to I get all of the tables to be generated like what happens on install?

      1 Reply Last reply Reply Quote 0
      • T
        theopenem_admin last edited by

        You'll need to manually import the initial db.

        https://raw.githubusercontent.com/theopenem/Toems-MSI/main/theopenem-1.2.1-mysql.sql

        D 1 Reply Last reply Reply Quote 1
        • D
          d0lb33 @theopenem_admin last edited by

          @theopenem_admin Perfect thank you!

          Are you open to pull requests that provide documentation on easy setup for the project?

          I think it could help more people want to add changes!

          1 Reply Last reply Reply Quote 0
          • T
            theopenem_admin last edited by

            Sure, there are many things that need done, just need to find the time. I'm always open to making things better.

            D 2 Replies Last reply Reply Quote 1
            • D
              d0lb33 @theopenem_admin last edited by

              @theopenem_admin Sounds good, thanks for the quick replies!

              1 Reply Last reply Reply Quote 0
              • D
                d0lb33 @theopenem_admin last edited by

                @theopenem_admin Im about to push some changes that enable group filtering to my forked repo. I had to change an element in the db to add a setting for it.

                Whats your workflow for including that change?

                1 Reply Last reply Reply Quote 0
                • T
                  theopenem_admin last edited by

                  It's sort of a pain. There is a db updater section in Toems-Common, that I put the sql in but it involves updating versions to get it to run. I can add it if you want.

                  1 Reply Last reply Reply Quote 0
                  • T
                    theopenem_admin last edited by

                    Thanks, it will be nice to cleanup some of those installation null refs.

                    Looking at the LDAP changes, it seems we are just effectively changing the base dn for syncing. It's not really a group filter. This leaves the authentication alone to use the original base dn. I wonder if we should just have 2 fields, it's basically just semantics at this point.

                    Authentication Base DN
                    Computer Sync Base DN

                    Which then leads into what if we want multiple DN's. Feel free to do as much or as little with this. At the very least you've motivated me to dig deeper into this for the next release.

                    Thanks again.

                    1 Reply Last reply Reply Quote 0