Skip to content

issues with running most scripts based on file dependency locations #17

@jaw2ay

Description

@jaw2ay

I want to set up the db locally, attempted to run Packetforwader.py
I get this error
Traceback (most recent call last):
File "PacketForwarderCollector.py", line 7, in
from auditing.datacollectors.utils.PacketPersistence import save
File "/home/jack/laf/auditing/datacollectors/utils/PacketPersistence.py", line 2, in
import auditing.db.Service as db_service
File "/home/jack/laf/auditing/db/init.py", line 16, in
DB_HOST = os.environ["DB_HOST"]
File "/usr/lib/python3.8/os.py", line 675, in getitem
raise KeyError(key) from None
KeyError: 'DB_HOST'

I cant seem to find an easy way to build the DB schema. Is there a quick solution for this locally?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions