1
0
Fork 0
mirror of https://github.com/anyproto/any-sync-dockercompose.git synced 2025-06-08 05:47:03 +09:00

Merge pull request #8 from anyproto/added-commands-for-win

Update README.md
This commit is contained in:
Kirill Shklyaev 2023-11-14 23:30:28 +03:00 committed by GitHub
commit 0c443b2d91
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,9 +8,19 @@ Self-host for any-sync, designed for review and testing purposes.
## Usage
* start stand - at the first run the directories `etc/` of configuration files and `storage/` for data storage will be generated:
For Linux, MacOS and other nix* systems:
```
make start
```
For Windows (Run this in PowerShell, not cmd.exe):
```
# Generate config
docker build -t generateconfig -f Dockerfile-generateconfig .
docker run --rm -v ${PWD}/etc:/opt/processing/etc --name any-sync-generator generateconfig
# Run containers
docker compose up -d
```
* stop stand:
```
make stop