Skip to content

Commit

Permalink
Merge pull request #1 from TheHolyRoger/mqtt
Browse files Browse the repository at this point in the history
Support new Hummingbot MQTT Bridge
  • Loading branch information
TheHolyRoger authored May 19, 2023
2 parents 6329a3a + 17b597b commit 57bf0ad
Show file tree
Hide file tree
Showing 73 changed files with 1,758 additions and 1,056 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ rogerthat/* eol=lf
scripts/* eol=lf
scripts/*.bat eol=crlf
support/* eol=lf
tests/* eol=lf
examples/* eol=lf
2 changes: 2 additions & 0 deletions .githooks/replace_by_git_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
"HEAD",
]).strip().decode('utf-8')

git_vars['current.readme_install_branch'] = "master"

git_vars['current.commit'] = subprocess.check_output([
"git",
"rev-parse",
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx
types: [file]
- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 5.11.5
hooks:
- id: isort
files: "\\.(py)$"
Expand Down
54 changes: 54 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Source Installation (ADVANCED!!!)

<details>
<summary>Steps to install from **source** instead of docker ...</summary>

## Installation

[Install Miniconda](https://docs.conda.io/en/latest/miniconda.html) (or Anaconda)

Clone this repository.

```bash
git clone [email protected]:TheHolyRoger/RogerThat.git
```

Change directory:
```bash
cd RogerThat
```

Set up and activate the environment with the following command.

<details>
<summary>Linux/Mac</summary>

```bash
./scripts/update_environment.sh
```
</details>
<details>
<summary>Windows</summary>

```bat
scripts\update_environment.bat
```
</details>

Run the following command to generate the default configs:
```bash
scripts/setup.py -s
```

Edit the configs in `./configs` or via the `setup.py` command.

___

## Running

From source:

```bash
bin/start_rogerthat.py
```
</details>
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ COPY --chown=rogerthat:rogerthat alembic/ alembic/
COPY --chown=rogerthat:rogerthat bin/ bin/
COPY --chown=rogerthat:rogerthat rogerthat/ rogerthat/
COPY --chown=rogerthat:rogerthat scripts/ scripts/
COPY --chown=rogerthat:rogerthat tests/ tests/
COPY --chown=rogerthat:rogerthat examples/ examples/
COPY --chown=rogerthat:rogerthat alembic.ini .
COPY --chown=rogerthat:rogerthat support/docker_compose_entrypoint.sh .
COPY --chown=rogerthat:rogerthat support/docker_start_python.sh .
Expand Down
Loading

0 comments on commit 57bf0ad

Please sign in to comment.