Skip to content

Commit

Permalink
Update opendataharvest.md
Browse files Browse the repository at this point in the history
  • Loading branch information
srappel authored Jul 3, 2024
1 parent 411eb81 commit 3d6c7f2
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions docs/utils/opendataharvest.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,34 @@ The OpenDataHarvest package is designed to automate the harvesting and conversio
- **Setup Python Environment**
```ruby
namespace :opendataharvest do
#...
desc "Set up Python venv environment for opendataharvest"
task :setup_python_env do
sh "lib/opendataharvest/setup_python_env.sh"
end
#...
end
```
- **Run DCAT Harvester**
```ruby
desc "Run the DCAT_Harvester.py Python script"
task :harvest_dcat do
sh "lib/opendataharvest/venv/bin/python3 lib/opendataharvest/opendataharvest/DCAT_Harvester.py"
namespace :opendataharvest do
#...
desc "Run the DCAT_Harvester.py Python script"
task :harvest_dcat do
sh "lib/opendataharvest/venv/bin/python3 lib/opendataharvest/opendataharvest/DCAT_Harvester.py"
end
#...
end
```
- **Convert GBL 1.0 to Aardvark**
```ruby
desc "Run the conversion scripts on GBL 1.0 metadata institutions"
task :gbl1_to_aardvark do
sh "lib/opendataharvest/venv/bin/python3 lib/opendataharvest/gbl-1_to_aardvark/gbl_to_aardvark.py"
namespace :opendataharvest do
#...
desc "Run the conversion scripts on GBL 1.0 metadata institutions"
task :gbl1_to_aardvark do
sh "lib/opendataharvest/venv/bin/python3 lib/opendataharvest/gbl-1_to_aardvark/gbl_to_aardvark.py"
end
#...
end
```

Expand Down

0 comments on commit 3d6c7f2

Please sign in to comment.