-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'config_files' of https://github.com/WattRex/Battery-Cyc…
…ler-Controller into config_files
- Loading branch information
Showing
5 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# INSTALL | ||
|
||
1. Create a wattrex user to execute cyclers and change password | ||
```bash | ||
|
||
su - | ||
# Create user, group and change password | ||
groupadd -g 69976 wattrex | ||
useradd -u 69976 -g wattrex wattrex | ||
mkhomedir_helper wattrex | ||
passwd wattrex | ||
|
||
# Add new user to docker group | ||
usermod -aG docker wattrex | ||
exit | ||
|
||
# Login to new user | ||
su - wattrex | ||
``` | ||
2. Change system queue sizes. For this, follow this guide: [](https://github.com/WattRex/System-Tools/tree/develop/code/sys_shd) | ||
2. Execute deploy script to deploy containers for db synchronizer and CAN and SCPI sniffers | ||
```bash | ||
./devops/deploy.sh | ||
``` | ||
|
||
NOTE: **make sure that all files in the `devops` and `config` folders belong to** | ||
**the wattrex group and have write permissions** | ||
|
||
3. Export config file path | ||
```bash | ||
export CONFIG_FILE_PATH=$(pwd)/config/config_params.yaml | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters