Browse Source

fixed config and added apgmera to readme

master
Chris Mahoney 2 years ago
parent
commit
899d3fd5d5
  1. 12
      README.md
  2. 2
      commit.py
  3. 2
      config.json.template

12
README.md

@ -4,17 +4,25 @@ soups
**soups** is a set of scripts for running the apgmera soup search and tracking our findings.
## Install
To install first clone the repo
To install first clone the repo and initailize submodules
```
$ git clone https://gitea.cslabs.clarkson.edu/mahonec/soups.git
$ git submodule update --init --recursive
```
Now copy the config file
```
$ cp config.json.template config.json
```
Fill it in with the details to the mysql database and replace /path/to/directory/ with the result of `pwd`
Fill it in with the details to the mysql database and replace `/path/to/directory/` with the result of `pwd`
Note: If you don't yet have a mysql database and tables read the future section.
Finally you must compile apgmera.
```
$ cd apgmera
$ ./recompile.sh
```
## Usage
To start the soup search execute run.sh
```

2
commit.py

@ -11,7 +11,7 @@ mydb = mysql.connector.connect(
database=config["mysql"]["database"]
)
home = config["home"]
home = config["home"] + "/"
# Get logs
logs = [home + "logs/" + f for f in listdir(home + "logs/")]

2
config.json.template

@ -5,5 +5,5 @@
"password":"password",
"database":"soups"
},
"home":"/path/to/directory/"
"home":"/path/to/directory"
}
Loading…
Cancel
Save