SocialHarvest / harvester

The Social Harvest server that exposes an API and harvests data from the web to be analyzed.
Other
111 stars 44 forks source link

Bundle data files with app on build #52

Closed tmaiaroto closed 9 years ago

tmaiaroto commented 9 years ago

...or have a standard "share" location for the data files needed for classification, etc.

Right now when building the app, the data directory must be copied to where the binary is on disk.

It's a little confusing and makes the app less portable after building. Ultimately I want to have binary distribution so people don't need to build Social Harvest themselves.

tmaiaroto commented 9 years ago

The precedent for this will be taken care of when adding custom gender data files. They will be copied upon harvester startup to a directory right next to the harvester binary. So we don't need to bundle the data files with the app at all. They don't even need to be in the GitHub repo. They could come from Amazon S3, etc.