en:user_advanced:command_line_building
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:user_advanced:command_line_building [2018/03/13 00:59] – [Set up Greenstone environment] kjdon | en:user_advanced:command_line_building [2018/03/13 06:07] – More m-dashes changed to hyphens for specifying flags anupama | ||
---|---|---|---|
Line 80: | Line 80: | ||
This is the process of converting the original documents, which might be a mixture of file types, into a standardised XML based format - the Greenstone archive format. Original source documents live in the import folder of a collection, while the archive documents live in the archives folder. | This is the process of converting the original documents, which might be a mixture of file types, into a standardised XML based format - the Greenstone archive format. Original source documents live in the import folder of a collection, while the archive documents live in the archives folder. | ||
- | The command to import a collection is '' | + | The command to import a collection is '' |
^Greenstone version^Import command^ | ^Greenstone version^Import command^ | ||
- | |2|perl | + | |2|perl |
- | |3|perl | + | |3|perl |
As before, you need to put in your own collection name, and change the site name if you are using a custom greenstone3 site. | As before, you need to put in your own collection name, and change the site name if you are using a custom greenstone3 site. | ||
Line 102: | Line 102: | ||
^Greenstone version^Build command^ | ^Greenstone version^Build command^ | ||
- | |2|perl | + | |2|perl |
|3|perl —S buildcol.pl -site localsite < | |3|perl —S buildcol.pl -site localsite < | ||
Line 115: | Line 115: | ||
^Greenstone version^Activate command^ | ^Greenstone version^Activate command^ | ||
- | |2|perl | + | |2|perl |
- | |3|perl | + | |3|perl |
Or manually: | Or manually: | ||
Line 133: | Line 133: | ||
==== Create a collection ==== | ==== Create a collection ==== | ||
- | To create the '' | + | To create the '' |
the full list of options, which you can also view [[script_options# | the full list of options, which you can also view [[script_options# | ||
Line 146: | Line 146: | ||
^Greenstone version^mkcol command^ | ^Greenstone version^mkcol command^ | ||
- | |2|perl -S mkcol.pl | + | |2|perl -S mkcol.pl |
- | |3|perl -S mkcol.pl -site localsite | + | |3|perl -S mkcol.pl -site localsite |
en/user_advanced/command_line_building.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1