Skip to content

Commit

Permalink
fix: stored_proteins
Browse files Browse the repository at this point in the history
  • Loading branch information
xnought committed May 22, 2024
1 parent 9744b73 commit dd9a977
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions backend/src/data/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
stored_proteins
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function backup() {
function reload_from_backup() {
if [ "$1" != "" ]; then
docker exec -t venome-backend rm -fr src/data/stored_proteins # remove what's already there
docker cp $1/stored_proteins/ venome-backend:/app/src/data/ # send over our backup files to docker
docker cp $1/stored_proteins/ venome-backend:/app/src/data/stored_proteins/ # send over our backup files to docker
sleep 5
sql_reload $1/dump.sql # reload from the schema
else
Expand Down

0 comments on commit dd9a977

Please sign in to comment.