Commit 5a7d0d6a authored by TonyFord's avatar TonyFord
Browse files

improvements

parent bfa108b1
......@@ -19,7 +19,7 @@ build-electrumfairchainsx:
before_script:
- chmod +x ./setenv && . setenv
script:
- chmod +x deploy/build && deploy/build
- deploy/build
start-electrumfairchainsx:
stage: start
......@@ -33,7 +33,7 @@ start-electrumfairchainsx:
before_script:
- chmod +x ./setenv && . setenv
script:
- chmod +x deploy/start && deploy/start
- deploy/start
new_ssl-electrumfairchainsx:
stage: new_ssl
......@@ -47,7 +47,7 @@ new_ssl-electrumfairchainsx:
before_script:
- chmod +x ./setenv && . setenv
script:
- chmod +x deploy/new_ssl && deploy/new_ssl
- deploy/new_ssl
stop-electrumfairchainsx:
stage: stop
......@@ -61,7 +61,7 @@ stop-electrumfairchainsx:
before_script:
- chmod +x ./setenv && . setenv
script:
- chmod +x deploy/stop && deploy/stop
- deploy/stop
uninstall-electrumfairchainsx:
stage: uninstall
......@@ -75,7 +75,7 @@ uninstall-electrumfairchainsx:
before_script:
- chmod +x ./setenv && . setenv
script:
- chmod +x deploy/uninstall && deploy/uninstall
- deploy/uninstall
remove-electrumfairchainsx:
stage: remove
......@@ -89,7 +89,7 @@ remove-electrumfairchainsx:
before_script:
- chmod +x ./setenv && . setenv
script:
- chmod +x deploy/remove && deploy/remove
- deploy/remove
status-electrumfairchainsx:
stage: status
......@@ -103,4 +103,4 @@ status-electrumfairchainsx:
before_script:
- chmod +x ./setenv && . setenv
script:
- chmod +x console/status && console/status
- console/status
......@@ -10,13 +10,13 @@ The service is made for/controlled by gitlab runner.
1. Fork this project to your group/repositories where you have set up a gitlab-runner
1. change the gitlab-runner tags in .gitlab-ci.yml
1. add env files ( select Type = file ! ), go to Gitlab **Settings** -> **CI/CD** -> **Variables**
1. add env files ( select Type = file ! ) to override defaults ./env_file , go to Gitlab **Settings** -> **CI/CD** -> **Variables**
~~~
#### env files ( examples see env_file/... / select Type = file !) ######################
FAIRCHAINS_CONF # fairchains.conf / faircoin.conf
SSL_CONF # configuration to create ssl cert
FAIRCHAINS_ELECTRUMX_JSON # electrumx serve network configuration
FAIRCHAINS_JSON # blockchain parameters
FAIRCHAINS_CONF # [optional] fairchains.conf / faircoin.conf
SSL_CONF # [mandatory] configuration to create ssl cert
FAIRCHAINS_ELECTRUMX_JSON # [optional] electrumx serve network configuration
FAIRCHAINS_JSON # [optional] blockchain parameters
~~~
1. run command, go to Gitlab **CI/CD** -> **Pipeline** and **Run Pipeline**
Enter variable name **CMD**
......@@ -38,7 +38,7 @@ remove # remove all data
1. change configuration in ./env_file
1. Initialize env vars
~~~
chmod +x ./setenv && . setenv
. setenv
~~~
1. run command from project root folder
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment