A tool for expediting curation of published research in genetic databases.
pg_dump and psql commands)git clone https://github.com/FlyBase/fast-track-your-paper.git
cd fast-track-your-paper
touch .env
Edit the .env to add your SVN and PostgreSQL credentials. Be sure to replace all values within the
angle brackets <> with values for your environment.
SVN_USER=<SVN USERNAME>
SVN_PASSWORD=<SVN PASSWORD>
SRC_PGHOST=<HOSTNAME>
SRC_PGDATABASE=<DATABASE NAME>
SRC_PGPORT=<POSTGRES PORT>
SRC_PGUSER=<POSTGRES USER>
FTYP_PGPASSWORD=<FTYP DATABASE PASSWORD>
make
For full details see the db README.
backup-submissions.This target creates a file under db/data/ called ftyp_json.yymmdd.json by default where yymmdd
represents the two digit year, month, and day. To override the file you need to pass a variable called
SUBMISSION_JSON to this target.
make export-submissions SUBMISSION_JSON=db/data/my-submissions.json
make export-submissions SUBMISSION_JSON=ftyp.json
After the submissions have been exported, they will be marked as processed so that subsequent exports will ignore them.
Calls the backup_submissions.sh script to dump all rows
of the submissions table. The output is in the db/data/submissions/ directory.
Calls the restore_submissions.sh script to restore all
rows of the submissions table from the file produced by backup-submissions. This target loads
any .sql or .sql.gz file in the db/data/submissions/ directory into the database.
The FTYP tool is broken up into individual docker containers. These containers include:
| Container | Internal Port | Public port |
|---|---|---|
| api | 5000 | |
| client | 5000 | |
| db | 5432 | |
| proxy | 80 | 8888 |
Content type
Image
Digest
Size
163.1 MB
Last updated
over 4 years ago
docker pull flybase/ftyp-db