mirror of
https://github.com/fluencelabs/node-distro
synced 2025-06-13 23:11:30 +00:00
v0.0.48_46 + document how to deploy on new macOS
This commit is contained in:
1
fluence/deploy/.python-version
Normal file
1
fluence/deploy/.python-version
Normal file
@ -0,0 +1 @@
|
||||
2.7.18
|
@ -20,3 +20,14 @@
|
||||
1. Edit `fluence.yml` and `fluence_bootstrap.yml` to your needs
|
||||
2. Build image: `docker build -t deploy .`
|
||||
3. Run `docker run -v $HOME/.ssh:/root/.ssh:ro deploy deploy_fluence` (you can use `deploy_caddy` or `deploy_watchdog` instead of `deploy_fluence` as well)
|
||||
|
||||
# macOS without docker
|
||||
If you're on macOS, and want to avoid using Docker, then this section is for you.
|
||||
|
||||
You will need to use `pyenv` to access Python 2.
|
||||
|
||||
1. `brew install pyenv openssl@1.1`
|
||||
2. `pyenv install 2.7.18`
|
||||
3. `pyenv local 2.7.18`
|
||||
3. `pyenv exec pip2 install -r requirements.txt --global-option=build_ext --global-option="-L/opt/homebrew/opt/openssl@1.1/lib" --global-option="-I/opt/homebrew/opt/openssl@1.1/include"`
|
||||
4. `pyenv exec fab deploy_fluence`
|
||||
|
@ -1,10 +1,10 @@
|
||||
{
|
||||
"target": "stage",
|
||||
"target": "krasnodar",
|
||||
|
||||
"environments": [
|
||||
{
|
||||
"name": "krasnodar",
|
||||
"container_tag": "v0.0.41_39",
|
||||
"container_tag": "v0.0.48_46",
|
||||
"containers_per_host": 1,
|
||||
"external_bootstraps": [
|
||||
"/ip4/164.90.171.139/tcp/7770",
|
||||
@ -89,7 +89,7 @@
|
||||
},
|
||||
{
|
||||
"name": "testnet",
|
||||
"container_tag": "v0.0.41_39",
|
||||
"container_tag": "v0.0.48_46",
|
||||
"containers_per_host": 1,
|
||||
"external_bootstraps": [
|
||||
],
|
||||
@ -151,7 +151,7 @@
|
||||
},
|
||||
{
|
||||
"name": "stage",
|
||||
"container_tag": "v0.0.41_39",
|
||||
"container_tag": "v0.0.48_46",
|
||||
"containers_per_host": 5,
|
||||
"hosts": [
|
||||
"134.209.186.43"
|
||||
|
Reference in New Issue
Block a user