• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
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
v3.5.2 Latest
Buy Hosting

Setting up Nodebb for CI/CD pipeline

Scheduled Pinned Locked Moved NodeBB Development
3 Posts 2 Posters 443 Views
    • 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.
  • YeePY Offline
    YeePY Offline
    YeeP
    wrote on last edited by
    #1

    Re: Set up NodeBB via environment variables

    Are there any more docs on this method of deployment? I was currently creating my own config.json file and then attempting to run the nodebb setup. This seems like a possibly easier way of doing it. Example from the above post would not typically be how I would set environment variables:

    # Minimum setup options
    $ database=redis node app --setup`
    

    I pass all my environment variables from a shell script during the deployment stage. The addition of 'node app --setup' here I believe is just running the setup script after the variables are set correct?

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #2
    $ ./nodebb help setup
    
      Usage: setup [options] [config]
    
      Run the NodeBB setup script, or setup with an initial config
    
    
      Options:
        -h, --help  output usage information
    

    You can provide a JSON object as the config parameter to that command.

    YeePY 1 Reply Last reply
    0
  • YeePY Offline
    YeePY Offline
    YeeP
    replied to PitaJ on last edited by YeeP
    #3

    @PitaJ OR it can read from environment variables?

    (Which is what is discussed in the link I gave above)

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development