def run_start(args): """Start the processes to run the node""" # Configure Logging setup_logging() logger.info('BigchainDB Version %s', bigchaindb.__version__) run_recover(bigchaindb.lib.BigchainDB()) if not args.skip_initialize_database: logger.info('Initializing database') _run_init() logger.info('Starting BigchainDB main process.') from bigchaindb.start import start start(args)
def run_start(args): """Start the processes to run the node""" # Configure Logging setup_logging() logger.info('BigchainDB Version %s', bigchaindb.__version__) run_recover(bigchaindb.lib.BigchainDB()) if not args.skip_initialize_database: logger.info('Initializing database') _run_init() logger.info('Starting BigchainDB main process.') from bigchaindb.start import start start()
# Copyright BigchainDB GmbH and BigchainDB contributors # SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) # Code is Apache-2.0 and docs are CC-BY-4.0 import logging import setproctitle import bigchaindb from bigchaindb.start import start from argparse import Namespace args = Namespace(config=None, yes=True, skip_initialize_database=False, experimental_parallel_validation=False) start(args)