Project

General

Profile

« Previous | Next » 

Revision 12226

/README.TXT: put ... around all uppercased text, for consistency

View differences:

trunk/README.TXT
2 2
	Check out svn: svn co https://code.nceas.ucsb.edu/code/projects/bien
3 3
	cd bien/
4 4
	Install: make install
5
		WARNING: This will delete the current public schema of your VegBIEN DB!
5
		**WARNING**: This will delete the public schema of your VegBIEN DB!
6 6
	Uninstall: make uninstall
7
		WARNING: This will delete your entire VegBIEN DB!
7
		**WARNING**: This will delete your entire VegBIEN DB!
8 8
		This includes all archived imports and staging tables.
9 9

  
10 10
Connecting to vegbiendev:
......
31 31
	Remake analytical DB: see Full database import > To remake analytical DB
32 32

  
33 33
Full database import:
34
	WARNING: You must perform *every single* step listed below, to avoid
34
	**WARNING**: You must perform *every single* step listed below, to avoid
35 35
		breaking column-based import
36 36
	**WARNING**: always start with a clean shell, as described above under
37 37
		"Notes on running programs"
......
54 54
	make inputs/download live=1
55 55
	For each newly-uploaded datasource above: make inputs/<datasrc>/reinstall
56 56
	Update the auxiliary schemas: make schemas/reinstall
57
		WARNING: requires sudo access!
57
		**WARNING**: requires sudo access!
58 58
		The public schema will be installed separately by the import process
59 59
	Delete imports before the last so they won't bloat the full DB backup:
60 60
		make backups/vegbien.<version>.backup/remove
......
74 74
	Start column-based import: . bin/import_all
75 75
		To use row-based import: . bin/import_all by_col=
76 76
		To stop all running imports: . bin/stop_imports
77
		WARNING: Do NOT run import_all in the background, or the jobs it creates
78
			won't be owned by your shell.
77
		**WARNING**: Do NOT run import_all in the background, or the jobs it
78
			creates won't be owned by your shell.
79 79
		Note that import_all will take up to an hour to import the NCBI backbone
80 80
			and other metadata before returning control to the shell.
81 81
		To view progress:
......
128 128
		make schemas/$version/uninstall
129 129
	Otherwise, continue
130 130
	Publish the new import:
131
		WARNING: Before proceeding, be sure you have done *every single*
131
		**WARNING**: Before proceeding, be sure you have done *every single*
132 132
			verification step listed above. Otherwise, a previous valid import
133 133
			could incorrectly be overwritten with a broken one.
134 134
		make schemas/$version/publish # runtime: 1 min ("real 1m10.451s")
......
319 319
	if http://vegbiendev.nceas.ucsb.edu/phppgadmin/ goes down:
320 320
		on vegbiendev: make postgres-Linux
321 321
	to synchronize vegbiendev, jupiter, and your local machine:
322
		WARNING: pay careful attention to all files that will be deleted or
322
		**WARNING**: pay careful attention to all files that will be deleted or
323 323
			overwritten!
324 324
		install put if needed:
325 325
			download https://uutils.googlecode.com/svn/trunk/bin/put to ~/bin/ and `chmod +x` it
......
338 338
					then rerun with l=1 ...
339 339
	to synchronize a Mac's settings with my testing machine's:
340 340
		download:
341
			WARNING: this will overwrite all your user's settings!
341
			**WARNING**: this will overwrite all your user's settings!
342 342
			on your machine:
343 343
			overwrite=1 swap=1 sync_local_dir=~/Library/ sync_remote_subdir=Library/ bin/sync_upload --exclude="/Saved Application State"
344 344
				then rerun with l=1 ...
......
444 444
		mappings/verify.*.sql
445 445
	Regenerate schema from installed DB: make schemas/remake
446 446
	Reinstall DB from schema: make schemas/public/reinstall schemas/reinstall
447
		WARNING: This will delete the current public schema of your VegBIEN DB!
447
		**WARNING**: This will delete the public schema of your VegBIEN DB!
448 448
	Reinstall staging tables:
449 449
		On local machine:
450 450
			sudo -E -u postgres psql <<<'ALTER DATABASE vegbien RENAME TO vegbien_prev'
......
456 456
				views in public depend on some of the datasources
457 457
			sudo -E -u postgres psql <<<'DROP DATABASE vegbien_prev'
458 458
		On vegbiendev: repeat the above steps
459
			WARNING: Do not run this until reinstall_all runs successfully on
460
			the local machine, or the live DB may be unrestorable!
459
			**WARNING**: Do not run this until reinstall_all runs successfully
460
			on the local machine, or the live DB may be unrestorable!
461 461
	Sync ERD with vegbien.sql schema:
462 462
		Run make schemas/vegbien.my.sql
463 463
		Open schemas/vegbien.ERD.mwb in MySQLWorkbench
......
550 550
		svn up -r <rev>; make inputs/.TNRS/reinstall; make schemas/public/reinstall; make <failed-test>.xml
551 551
	.htaccess:
552 552
		mod_rewrite:
553
			IMPORTANT: whenever you change the DirectorySlash setting for a
553
			**IMPORTANT**: whenever you change the DirectorySlash setting for a
554 554
				directory, you *must* clear your browser's cache to ensure that
555 555
				a cached redirect is not used. this is because RewriteRule
556 556
				redirects are (by default) temporary, but DirectorySlash

Also available in: Unified diff