Commit dfe346c4 authored by TonyFord's avatar TonyFord
Browse files

add documentation

parent cf4db285
stages:
- build
- start
- stop
- uninstall
build-jekyll:
stage: build
......@@ -15,7 +17,7 @@ build-jekyll:
- docker-compose down
- docker-compose build
restart-jekyll:
start-jekyll:
stage: start
tags:
- FairCoin.Co
......@@ -29,3 +31,28 @@ restart-jekyll:
script:
- docker-compose stop
- docker-compose up -d
stop-jekyll:
stage: stop
tags:
- FairCoin.Co
only:
refs:
- master
variables:
- $CMD =~ /stop/
script:
- docker-compose stop
uninstall-jekyll:
stage: uninstall
tags:
- FairCoin.Co
only:
refs:
- master
variables:
- $CMD =~ /uninstall/
script:
- docker-compose stop
- docker-compose down
......@@ -4,8 +4,19 @@ Follow the pulse of FairCoin!
Live and static faircoin numbers.
## Installation
The service is made for/controlled by gitlab runner.
## Usage
Go into gitlab **CI/CD** -> **Pipeline** and **Run Pipeline**
Enter variable name **CMD**
#### CMD - commands
~~~
docker-compose up
build # build container ( changes of Dockerfile )
start # start container ( changes of scripts )
stop # stop container
uninstall # remove container
~~~
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