Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. 徐再贤
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 3
    • Best 1
    • Groups 0

    徐再贤

    @徐再贤

    1
    Reputation
    1
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    徐再贤 Unfollow Follow

    Best posts made by 徐再贤

    • RE: How to setup admin user in config.json in nodebb

      @pitaj said in How to setup admin user in config.json in nodebb:

      export admin__username="admin"
      export admin__password="password"
      export admin__password__confirm="password"

      using output of cat command is a good choice 😀 , i will try this.

      but i don't think using enviroment variables will work.

      thanks ~ 👌

      posted in NodeBB Development
      徐再贤
      徐再贤

    Latest posts made by 徐再贤

    • RE: How to setup admin user in config.json in nodebb

      @pitaj said in How to setup admin user in config.json in nodebb:

      export admin__username="admin"
      export admin__password="password"
      export admin__password__confirm="password"

      using output of cat command is a good choice 😀 , i will try this.

      but i don't think using enviroment variables will work.

      thanks ~ 👌

      posted in NodeBB Development
      徐再贤
      徐再贤
    • RE: How to setup admin user in config.json in nodebb

      @pitaj we have to escape character first. It's inconvenient.Why not get these initial values from a config file instead of a stringify object.

      posted in NodeBB Development
      徐再贤
      徐再贤
    • RE: How to setup admin user in config.json in nodebb

      It's inconvenient that we cannot set default admin username/password by values provided by nconf .
      I wonder if threr is anyone agree with me?
      I'm glad to create a pull request.

      posted in NodeBB Development
      徐再贤
      徐再贤