aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorRan Guin <[email protected]>2021-07-26 19:21:24 -0700
committerRan Guin <[email protected]>2021-07-26 19:21:24 -0700
commit755e932fb6e249e6a0418e242f2d4c7bce33f0fa (patch)
treee3d20a9db4659f09176264da3d666443ca059fbf /README.md
parent71e8209a83c139c7dd2096a287774436daa3d76d (diff)
parentb758837e6543acc8b2069402bb0d003feb3d8906 (diff)
downloadcoinos-server-755e932fb6e249e6a0418e242f2d4c7bce33f0fa.tar.gz
coinos-server-755e932fb6e249e6a0418e242f2d4c7bce33f0fa.zip
Merge branch 'master' of https://github.com/asoltys/coinos-server
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/README.md b/README.md
index 9ab192f8..f191da3e 100644
--- a/README.md
+++ b/README.md
@@ -23,11 +23,9 @@ This repository contains the code for the backend API server which is implemente
cp -rf sampleconfig ./config
cp .env.sample .env
cp fx.sample fx
- mkdir mysql
- cp db/schema.sql mysql/
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 < db/schema.sql
docker-compose up
Note the last step will take some time on first run as it will download the aforementioned docker images.
@@ -36,7 +34,7 @@ After successful creation of all docker containers coinos will be available at h
To shutdown coinos and all of its containers/services, run `docker-compose down` again.
-At anypoint to purge the database and start with a new one run `rm -rf mysql` and then `mkdir mysql` and then the same steps following from that point as outlined above.
+At anypoint to purge the database and start with a new one run `rm -rf mysql` and then `mkdir mysql` and then the same steps following from that point as outlined above. Or run `purge-except-git.sh` from `./scripts`
To review a log of individual containers use `docker-compose app` or `docker-compose maria` etc; container names are available in `docker-compose.yml` or via `docker-compose ps` when they are running. `docker images` will show you a list of the images installed on your system and `docker image rm [IMAGE ID]` removes them.