Skip to content

Commit

Permalink
feat(apache): Serve all config files (#606)
Browse files Browse the repository at this point in the history
Serves all network config files via apache under the `/network-configs/
path.

```
/network-configs/besu.json
/network-configs/boot/
/network-configs/boot_enr.txt
/network-configs/boot_enr.yaml
/network-configs/bootnode.txt
/network-configs/bootstrap_nodes.txt
/network-configs/chainspec.json
/network-configs/config.yaml
/network-configs/deploy_block.txt
/network-configs/deposit_contract.txt
/network-configs/deposit_contract_block.txt
/network-configs/deposit_contract_block_hash.txt
/network-configs/genesis.json
/network-configs/genesis.ssz
/network-configs/genesis_validators_root.txt
/network-configs/mnemonics.yaml
/network-configs/parsedBeaconState.json
/network-configs/tranches/
```
  • Loading branch information
samcm authored May 12, 2024
1 parent 91694df commit 3f1f5e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/apache/apache_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ def get_config(
"/network-configs/boot/" + APACHE_ENR_LIST_FILENAME,
"/network-configs/" + APACHE_ENR_LIST_FILENAME,
"&&",
"cp -R /network-configs /usr/local/apache2/htdocs/",
"&&",
"tar",
"-czvf",
"/usr/local/apache2/htdocs/network-config.tar",
Expand Down

0 comments on commit 3f1f5e1

Please sign in to comment.