Revision 11018
Added by Aaron Marcuse-Kubitza over 11 years ago
README.TXT | ||
---|---|---|
158 | 158 |
<datasrc> may not contain spaces, and should be abbreviated. |
159 | 159 |
If the datasource is a herbarium, <datasrc> should be the herbarium code |
160 | 160 |
as defined by the Index Herbariorum <http://sweetgum.nybg.org/ih/> |
161 |
For a new-style datasource (one containing a ./run runscript): |
|
162 |
"cp" -f inputs/.NCBI/run inputs/<datasrc>/ |
|
161 | 163 |
For MySQL inputs (exports and live DB connections): |
162 | 164 |
For .sql exports: |
163 | 165 |
Place the original .sql file in _src/ (*not* in _MySQL/) |
... | ... | |
208 | 210 |
subsequent headers as data rows.) |
209 | 211 |
Add <table> to inputs/<datasrc>/import_order.txt before other tables |
210 | 212 |
that depend on it |
213 |
For a new-style datasource: |
|
214 |
"cp" -f inputs/.NCBI/nodes/run inputs/<datasrc>/<table>/ |
|
215 |
inputs/<datasrc>/<table>/run |
|
211 | 216 |
Install the staging tables: |
212 | 217 |
make inputs/<datasrc>/reinstall quiet=1 & |
213 | 218 |
For a MySQL .sql export: |
... | ... | |
241 | 246 |
Save |
242 | 247 |
Regenerate the derived maps: make inputs/<datasrc>/ |
243 | 248 |
Accept the test cases: |
244 |
make inputs/<datasrc>/test |
|
249 |
For a new-style datasource: |
|
250 |
inputs/<datasrc>/run |
|
251 |
svn di inputs/<datasrc>/*/test.xml.ref |
|
252 |
If you get errors, follow the steps for old-style datasources below |
|
253 |
For an old-style datasource: |
|
254 |
make inputs/<datasrc>/test |
|
245 | 255 |
When prompted to "Accept new test output", enter y and press ENTER |
246 | 256 |
If you instead get errors, do one of the following for each one: |
247 | 257 |
- If the error was due to a bug, fix it |
Also available in: Unified diff
/README.TXT: Datasource setup: added additional steps for new-style datasources, from http://wiki.vegpath.org/Adding_new-style_import_to_a_datasource