Update docs for app dir rename

This commit is contained in:
David Boreham 2023-11-06 22:07:09 -07:00
parent 4be6750423
commit 8adcb1c02b
2 changed files with 11 additions and 11 deletions

View File

@ -64,12 +64,12 @@ laconic-so update
## Usage ## Usage
The various [stacks](/app/data/stacks) each contain instructions for running different stacks based on your use case. For example: The various [stacks](/stack_orchestrator/data/stacks) each contain instructions for running different stacks based on your use case. For example:
- [self-hosted Gitea](/app/data/stacks/build-support) - [self-hosted Gitea](/stack_orchestrator/data/stacks/build-support)
- [an Optimism Fixturenet](/app/data/stacks/fixturenet-optimism) - [an Optimism Fixturenet](/stack_orchestrator/data/stacks/fixturenet-optimism)
- [laconicd with console and CLI](app/data/stacks/fixturenet-laconic-loaded) - [laconicd with console and CLI](stack_orchestrator/data/stacks/fixturenet-laconic-loaded)
- [kubo (IPFS)](app/data/stacks/kubo) - [kubo (IPFS)](stack_orchestrator/data/stacks/kubo)
## Contributing ## Contributing

View File

@ -8,7 +8,7 @@ Core to the feature completeness of stack orchestrator is to [decouple the tool
## Example ## Example
- in `app/data/stacks/my-new-stack/stack.yml` add: - in `stack_orchestrator/data/stacks/my-new-stack/stack.yml` add:
```yaml ```yaml
version: "0.1" version: "0.1"
@ -21,7 +21,7 @@ pods:
- my-new-stack - my-new-stack
``` ```
- in `app/data/container-build/cerc-my-new-stack/build.sh` add: - in `stack_orchestrator/data/container-build/cerc-my-new-stack/build.sh` add:
```yaml ```yaml
#!/usr/bin/env bash #!/usr/bin/env bash
@ -30,7 +30,7 @@ source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
docker build -t cerc/my-new-stack:local -f ${CERC_REPO_BASE_DIR}/my-new-stack/Dockerfile ${build_command_args} ${CERC_REPO_BASE_DIR}/my-new-stack docker build -t cerc/my-new-stack:local -f ${CERC_REPO_BASE_DIR}/my-new-stack/Dockerfile ${build_command_args} ${CERC_REPO_BASE_DIR}/my-new-stack
``` ```
- in `app/data/compose/docker-compose-my-new-stack.yml` add: - in `stack_orchestrator/data/compose/docker-compose-my-new-stack.yml` add:
```yaml ```yaml
version: "3.2" version: "3.2"
@ -43,20 +43,20 @@ services:
- "0.0.0.0:3000:3000" - "0.0.0.0:3000:3000"
``` ```
- in `app/data/repository-list.txt` add: - in `stack_orchestrator/data/repository-list.txt` add:
```bash ```bash
github.com/my-org/my-new-stack github.com/my-org/my-new-stack
``` ```
whereby that repository contains your source code and a `Dockerfile`, and matches the `repos:` field in the `stack.yml`. whereby that repository contains your source code and a `Dockerfile`, and matches the `repos:` field in the `stack.yml`.
- in `app/data/container-image-list.txt` add: - in `stack_orchestrator/data/container-image-list.txt` add:
```bash ```bash
cerc/my-new-stack cerc/my-new-stack
``` ```
- in `app/data/pod-list.txt` add: - in `stack_orchestrator/data/pod-list.txt` add:
```bash ```bash
my-new-stack my-new-stack