Skip to content

Commit

Permalink
Reworded the ssh deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
TwoAbove committed May 21, 2024
1 parent 6b55885 commit 999dd49
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,14 @@ console-search args (or env vars):

You can use the `deploy_to_servers.sh` script to deploy to several machines. You need to create `.servers` file with the following format:

```txt
```csv
user@server1,,main_user_id
user@server2,dev_user_id,
```

This way you can choose which user to connect as on which server and which Noitool instance to connect to. Note the missing entry for the dev user id on server1 and the missing entry for the main user id on server2. That means that server 1 will connect to the main instance and server 2 will connect to the dev instance without both searchers competing for CPU time.
This is a headerless csv file with the following columns: `ssh,main_user_id,dev_user_id`.

Note the missing entry for the dev user id on server1 and the missing entry for the main user id on server2. That means that server 1 will connect to the main instance and server 2 will connect to the dev instance without both searchers competing for CPU time.

Then run `./deploy_to_servers.sh` to deploy to all servers.

Expand Down

0 comments on commit 999dd49

Please sign in to comment.