diff --git a/scripts/start_server/run-dockerfile.sh b/scripts/start_server/run-dockerfile.sh new file mode 100644 index 0000000..6880530 --- /dev/null +++ b/scripts/start_server/run-dockerfile.sh @@ -0,0 +1,9 @@ +#! /bin/bash + +# Start server in docker container, from image hosted on the multi-user gitlab's container registry +docker run -d \ + -p 5555-5560:5555-5560 \ + -e port=5555 \ + -e password=admin \ + -e timeout=1000 \ + registry.gitlab.com/slumber/multi-user/multi-user-server:0.1.0 \ No newline at end of file diff --git a/scripts/start_server/start-server.sh b/scripts/start_server/start-server.sh new file mode 100644 index 0000000..09b8db6 --- /dev/null +++ b/scripts/start_server/start-server.sh @@ -0,0 +1,5 @@ +#! /bin/bash + +# Start replication server locally, and include logging (requires replication_version=0.0.21a15) +clear +replication.serve -p 5555 -pwd admin -t 1000 -l INFO -lf server.log \ No newline at end of file