forked from cerc-io/stack-orchestrator
first pass tweaks for local dev prefs and foibles
This commit is contained in:
parent
dd0fa34205
commit
a8d0494324
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
.idea
|
||||||
|
venv
|
||||||
|
.vscode
|
||||||
|
laconic-so
|
||||||
|
laconic_stack_orchestrator.egg-info
|
||||||
|
__pycache__
|
12
README.md
12
README.md
@ -15,11 +15,21 @@ Ensure that the following are already installed:
|
|||||||
$ python3 --version
|
$ python3 --version
|
||||||
Python 3.8.10
|
Python 3.8.10
|
||||||
```
|
```
|
||||||
1. Docker (Install a current version from dockerco, don't use the version from any Linux distro)
|
2. Docker (Install a current version from dockerco, don't use the version from any Linux distro)
|
||||||
```
|
```
|
||||||
$ docker --version
|
$ docker --version
|
||||||
Docker version 20.10.17, build 100c701
|
Docker version 20.10.17, build 100c701
|
||||||
```
|
```
|
||||||
|
3. If installed from regular package repository, be aware that the compose plugin may need to be installed, as well.
|
||||||
|
```
|
||||||
|
DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
|
||||||
|
mkdir -p $DOCKER_CONFIG/cli-plugins
|
||||||
|
curl -SL https://github.com/docker/compose/releases/download/v2.11.2/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose
|
||||||
|
chmod +x ~/.docker/cli-plugins/docker-compose
|
||||||
|
|
||||||
|
# see https://docs.docker.com/compose/install/linux/#install-the-plugin-manually for further details
|
||||||
|
# or to install for all users.
|
||||||
|
```
|
||||||
#### Install
|
#### Install
|
||||||
1. Clone this repository:
|
1. Clone this repository:
|
||||||
```
|
```
|
||||||
|
@ -41,7 +41,12 @@ def command(ctx, include, exclude):
|
|||||||
quiet = ctx.obj.quiet
|
quiet = ctx.obj.quiet
|
||||||
verbose = ctx.obj.verbose
|
verbose = ctx.obj.verbose
|
||||||
dry_run = ctx.obj.dry_run
|
dry_run = ctx.obj.dry_run
|
||||||
|
local_stack = ctx.obj.local_stack
|
||||||
|
|
||||||
|
if local_stack:
|
||||||
|
dev_root_path = default=os.getcwd()[0:os.getcwd().rindex("stack-orchestrator")])
|
||||||
|
print(f'Local stack dev_root_path (CERC_REPO_BASE_DIR) overridden to: {dev_root_path}')
|
||||||
|
else:
|
||||||
dev_root_path = os.path.expanduser(config("CERC_REPO_BASE_DIR", default="~/cerc"))
|
dev_root_path = os.path.expanduser(config("CERC_REPO_BASE_DIR", default="~/cerc"))
|
||||||
|
|
||||||
if not quiet:
|
if not quiet:
|
||||||
|
@ -18,7 +18,7 @@ services:
|
|||||||
DB_HOST: ipld-eth-db
|
DB_HOST: ipld-eth-db
|
||||||
DB_PORT: 5432
|
DB_PORT: 5432
|
||||||
DB_PASSWORD: password
|
DB_PASSWORD: password
|
||||||
DB_WRITE: true
|
DB_WRITE: "true"
|
||||||
DB_TYPE: postgres
|
DB_TYPE: postgres
|
||||||
DB_DRIVER: sqlx
|
DB_DRIVER: sqlx
|
||||||
DB_WAIT_FOR_SYNC: "true"
|
DB_WAIT_FOR_SYNC: "true"
|
||||||
|
Loading…
Reference in New Issue
Block a user