Revision 6952
Added by Aaron Marcuse-Kubitza almost 12 years ago
schemas/Makefile | ||
---|---|---|
16 | 16 |
|
17 | 17 |
##### Installation |
18 | 18 |
|
19 |
schemas := temp functions py_functions public
|
|
19 |
schemas := temp functions py_functions |
|
20 | 20 |
install: $(schemas:%=%/install) ; |
21 | 21 |
|
22 |
schemasReversed := public py_functions functions temp
|
|
22 |
schemasReversed := py_functions functions temp |
|
23 | 23 |
uninstall: $(schemasReversed:%=%/uninstall) ; |
24 | 24 |
|
25 | 25 |
psqlOpts := --set ON_ERROR_STOP=1 --quiet |
README.TXT | ||
---|---|---|
28 | 28 |
svn up |
29 | 29 |
make inputs/upload |
30 | 30 |
For each newly-uploaded datasource: make inputs/<datasrc>/reinstall |
31 |
Update the schemas: make schemas/reinstall |
|
32 |
WARNING: This will delete the current public schema of your VegBIEN DB! |
|
33 |
To save it: make schemas/rotate |
|
31 |
Update the auxiliary schemas: make schemas/reinstall |
|
32 |
The public schema will be installed separately by the import process |
|
34 | 33 |
Make sure there is at least 100GB of disk space on /: df -h |
35 | 34 |
The import schema is 75GB, and may use additional space for temp tables |
36 | 35 |
To free up space, remove backups that have been archived on jupiter: |
Also available in: Unified diff
schemas/Makefile: Installation: $(schemas), $(schemasReversed) (used e.g. by `make schemas/reinstall`): Removed public so that when `make schemas/reinstall` is run before an import, it will not remove any active (published) import which resides in the public schema