Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FairCoin.Co
pulse.faircoin.co
Commits
dfe346c4
Commit
dfe346c4
authored
Jun 25, 2020
by
TonyFord
Browse files
add documentation
parent
cf4db285
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
dfe346c4
stages
:
-
build
-
start
-
stop
-
uninstall
build-jekyll
:
stage
:
build
...
...
@@ -15,7 +17,7 @@ build-jekyll:
-
docker-compose down
-
docker-compose build
re
start-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
README.md
View file @
dfe346c4
...
...
@@ -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
~~~
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment