Open adamsong opened 8 years ago
I'll admit, the code was restructured and is now very messy. The reason I haven't used a symlink is because they aren't compatible with Windows systems.
Now I am curious, how did you get this to work?
@adamsong an easy way is to copy/paste the data.db file from gathering to analysis. Then you just run python team.py ####
and it works
The idea is that the data would be synced over airsync, that is why you see airsync_server.py
and airsync_client.py
in the data folders.
Of course, if you don't have wireless serial bridges, things like symlinking, rsync, copying, etc. will work...
Analysis code needs the config file to import the database schema, but you're right, it probably should have its own config file.
I just tried to use this on my raspberry pi for our team, and got this error while running the program:
line 5 ImportError: No module named flask
@Nathan904 Then it seems you need to install Flask: sudo pip install flask
The database file referenced by the analysis is not the same file as that used by the gathering. Due to the copying of config files from the root config to the child configs using config modification would be difficult without a code change (unless I am missing something). The solution that I have used is to symlink between the two. If that is to be the permanent solution then that should be reflected in the documentation.