Skip to content

Instantly share code, notes, and snippets.

@mattijle
Created January 31, 2014 11:15
Show Gist options
  • Save mattijle/8730217 to your computer and use it in GitHub Desktop.
Save mattijle/8730217 to your computer and use it in GitHub Desktop.
$ node app --setup
info: NodeBB v0.3.0 Copyright (C) 2013 DesignCreatePlay Inc.
info: This program comes with ABSOLUTELY NO WARRANTY.
info: This is free software, and you are welcome to redistribute it under certain conditions.
info:
info: NodeBB Setup Triggered via Command Line
info: Welcome to NodeBB!
info: This looks like a new installation, so you'll have to answer a few questions about your environment before we can proceed.
info: Press enter to accept the default setting (shown in brackets).
URL of this installation (http://localhost)
Port number of your NodeBB (4567)
Use a port number to access NodeBB? (y)
IP or Hostname to bind to (0.0.0.0)
Which database to use (redis)
Host IP or address of your Redis instance (127.0.0.1)
Host port of your Redis instance (6379)
Password of your Redis database
Which database to use (0..n) (0)
info: Configuration Saved OK
info: Populating database with default configs, if not already set...
error: undefined
warn: NodeBB Setup Aborted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment