README.md 1.04 KB
Newer Older
TonyFord's avatar
TonyFord committed
1
2
3
4
5
6
# FairCoin Pulse

Follow the pulse of FairCoin!

Live and static faircoin numbers.

TonyFord's avatar
TonyFord committed
7
8
9
10
11
12
13
14
15
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
TonyFord's avatar
TonyFord committed
16
17

~~~
TonyFord's avatar
TonyFord committed
18
19
20
21
build        # build container ( changes of Dockerfile )
start        # start container ( changes of scripts )
stop         # stop container
uninstall    # remove container
TonyFord's avatar
TonyFord committed
22
~~~
TonyFord's avatar
TonyFord committed
23
24
25
26
27
28
29
30

#### CI/CD Settings

Go Gitlab **Settings** -> **CI/CD** -> **Variables**

~~~
#### FairCoin.Co group variables ######################
FAIRCOIN_CONF        # faircoin.conf file
TonyFord's avatar
TonyFord committed
31
LH_PORT_pulse        # jekyll serve -p
TonyFord's avatar
TonyFord committed
32
~~~
TonyFord's avatar
TonyFord committed
33
34
35
36
37

## Development <small>( manual usage )</small>

If you want create an instance manual then follow the  instructions.

TonyFord's avatar
ts    
TonyFord committed
38
1. install docker and docker-compose ( https://docs.docker.com/compose/install/ )
TonyFord's avatar
ts    
TonyFord committed
39
40
41
2. clone this project
3. change configuration in ./env
4. run services by ./control.sh
TonyFord's avatar
TonyFord committed
42
43
44
45
46
47
48
49

~~~
chmod +x ./control.sh
./control.sh build
./control.sh start
./control.sh stop
./control.sh uninstall
~~~