-
Notifications
You must be signed in to change notification settings - Fork 0
nickfh7/new_dAuth
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
dAuth ------- <TODO> Install ------- WITH DOCKER: Build the local image with the following command (in root dir of project): - docker build -t dauth . Run dauth with and mongodb with: - docker-compose -f dauth_setup.yaml up To configure the node, edit the yaml file directly WITHOUT DOCKER: Set up dAuth 1. Create a virtual environment (i.e. 'virtualenv -p python3 venv'), then activate it ('source venv/bin/activate') 2. Install dAuth with 'pip install -e .' 3a. Run CCellular with 'ccellular' 3b. Run the logging server with 'logging-server' Set up Database 1. create a new directory for the database (i.e. 'data/), and create two subdirectories 'db/' and 'replica/' 2. Set up the db and replica with the following commands (run every time you start the dbs): mongod --dbpath db/ --replSet rs0 # main db mongod --dbpath replica/ --port 27018 --replSet rs0 # replica 3. Initialize the setup (ONLY THE FIRST TIME): mongo # start mongo client > rs.initiate() > rs.add("localhost:27018") > rs.status() > rs.conf() # To check for configuration > rs.slaveOk() # To ensure that the slave / replica nodes can be enabled for read Set up Sawtooth <TODO>
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published