mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
- include all collections - refactored mongodb export script - renamed to export - use of .env file for (additional) configurations / configuration overrides
13 lines
279 B
Bash
Executable File
13 lines
279 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
for var in "SSH_USERNAME" "SSH_HOST" "MONGODB_USERNAME" "MONGODB_PASSWORD" "MONGODB_DATABASE" "MONGODB_AUTH_DB"
|
|
do
|
|
if [[ -z "${!var}" ]]; then
|
|
echo "${var} is undefined"
|
|
exit 1
|
|
fi
|
|
done
|
|
|
|
/migration/mongo/export.sh
|
|
/migration/neo4j/import.sh
|