aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDerrick <[email protected]>2021-07-18 22:39:56 -0600
committerDerrick <[email protected]>2021-07-18 22:39:56 -0600
commit54805fe28451c86318f8ff8ef18da1f0835a57f4 (patch)
tree5053f38e1a2cf6187ece6d62549d776817ae8bcf /README.md
parent22474406e9900af075c19e92bb38c37892da5fad (diff)
downloadcoinos-server-readmeUpdate.tar.gz
coinos-server-readmeUpdate.zip
README update: additional mariadb stepsreadmeUpdate
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9ab192f8..c61a4ddd 100644
--- a/README.md
+++ b/README.md
@@ -28,6 +28,9 @@ This repository contains the code for the backend API server which is implemente
cp sample.override.yml docker-compose.override.yml
docker-compose up -d --force-recreate maria
docker exec -i mariadb mysql -u root -ppassword < mysql/schema.sql
+ docker exec -i mariadb mysql -u root -ppassword -e "CREATE USER 'tester' IDENTIFIED BY 'pass';"
+ docker exec -i mariadb mysql -u root -ppassword -e "GRANT ALL PRIVILEGES ON *.* TO 'tester'@'%' IDENTIFIED BY 'pass';"
+ docker exec -i mariadb mysql -u root -ppassword -e "FLUSH PRIVILEGES;"
docker-compose up
Note the last step will take some time on first run as it will download the aforementioned docker images.