You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
![License][license-badge]
4
4
![Last Commit][last-commit-badge]
5
5
6
-
Back end for the ChRIS store. This is a Django-MySQL project that houses descriptions of ChRIS plugin-apps and workflows for registering to a ChRIS CUBE instance.
6
+
Back end for the ChRIS store. This is a Django-PostgreSQL project that houses descriptions of ChRIS plugin-apps and workflows for registering to a ChRIS CUBE instance.
7
7
8
8
## ChRIS store development, testing and deployment
title -d 1 "Waiting until ChRIS store database server is ready to accept connections..."
67
-
docker-compose -f docker-compose_dev.yml exec chris_store_dev_db sh -c 'while ! mysqladmin -uroot -prootp status 2> /dev/null; do sleep 5; done;'>& dc.out > /dev/null
67
+
echo"This might take a few seconds..."| ./boxes.sh ${Yellow}
68
+
windowBottom
69
+
docker-compose -f docker-compose_dev.yml exec chris_store_dev_db sh -c 'while ! psql -U chris -d chris_store_dev -c "select 1" 2> /dev/null; do sleep 5; done;'>& dc.out > /dev/null
68
70
echo -en "\033[2A\033[2K"
69
-
sed -E 's/[[:alnum:]]+:/\n&/g' dc.out | ./boxes.sh
70
-
# Give all permissions to chris user on the test DB. This is required for the Django tests:
71
-
echo"Granting <chris> user all DB permissions...."| ./boxes.sh ${LightCyan}
72
-
echo"This is required for the Django tests."| ./boxes.sh ${LightCyan}
73
-
docker-compose -f docker-compose_dev.yml exec chris_store_dev_db mysql -uroot -prootp -e 'GRANT ALL PRIVILEGES ON test_chris_store_dev.* TO "chris"@"%"'>& dc.out > /dev/null
74
-
cat dc.out | ./boxes.sh
71
+
cat dc.out | ./boxes.sh ${LightGreen}
72
+
echo""| ./boxes.sh
73
+
echo"ChRIS store database is ready to accept connections"| ./boxes.sh ${LightGreen}
0 commit comments