Skip to content

Commit

Permalink
Merge branch 'feature/v4' of https://github.com/pixlise/core into fea…
Browse files Browse the repository at this point in the history
…ture/v4
  • Loading branch information
RyanStonebraker committed Nov 16, 2023
2 parents 57bc224 + 96e1b6c commit bd7227a
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 74 deletions.
168 changes: 95 additions & 73 deletions generated-protos/widget-data.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions local-mongo/dbseed/Making a DB seed.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Find docker container for mongo and get its id
docker exec -ti dockercontainerid bash
/dbseed/migrated
mongodump

Make sure the files end up in /local-mongo/dbseed/migrated/pixlise-prodMigrated
2 changes: 1 addition & 1 deletion local-mongo/startdb.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

# --rm
docker run --rm -d -v /$PWD/dbseed:/dbseed -p 27017:27017 -h $(hostname) --name mongo-test mongo:4.4.3 --replSet=test && sleep 4 && docker exec mongo-test mongo --eval "rs.initiate();" && sleep 2 && docker exec mongo-test dbseed/import.sh
docker run --rm -d -v /$PWD/dbseed:/dbseed -p 27017:27017 -h $(hostname) --name mongo-test mongo:5 --replSet=test && sleep 4 && docker exec mongo-test mongo --eval "rs.initiate();" && sleep 2 && docker exec mongo-test dbseed/import.sh

0 comments on commit bd7227a

Please sign in to comment.