fix install instruction
This commit is contained in:
@@ -4,8 +4,9 @@ RUN apt-get -q update && \
|
|||||||
apt-get clean && rm -fr /var/lib/apt/lists/*
|
apt-get clean && rm -fr /var/lib/apt/lists/*
|
||||||
|
|
||||||
FROM nodejs-base AS build
|
FROM nodejs-base AS build
|
||||||
RUN yarnpkg global add --latest --production --silent http://gancio.org/latest.tgz && \
|
RUN yarnpkg global add --network-timeout 1000000000 --latest --production --silent http://192.168.0.178:8080/l.tgz && \
|
||||||
apt-get clean && rm -fr /var/lib/apt/lists/*
|
apt-get clean && rm -fr /var/lib/apt/lists/* && \
|
||||||
|
yarnpkg cache clean
|
||||||
|
|
||||||
FROM nodejs-base
|
FROM nodejs-base
|
||||||
COPY --from=build /usr/local/share/.config/yarn/ /usr/local/share/.config/yarn/
|
COPY --from=build /usr/local/share/.config/yarn/ /usr/local/share/.config/yarn/
|
||||||
@@ -67,10 +67,13 @@ GEM
|
|||||||
rb-inotify (~> 0.9, >= 0.9.10)
|
rb-inotify (~> 0.9, >= 0.9.10)
|
||||||
mercenary (0.4.0)
|
mercenary (0.4.0)
|
||||||
mini_magick (4.11.0)
|
mini_magick (4.11.0)
|
||||||
|
mini_portile2 (2.8.0)
|
||||||
minitest (5.15.0)
|
minitest (5.15.0)
|
||||||
nokogiri (1.13.6)
|
nokogiri (1.13.6)
|
||||||
mini_portile2 (~> 2.8.0)
|
mini_portile2 (~> 2.8.0)
|
||||||
racc (~> 1.4)
|
racc (~> 1.4)
|
||||||
|
nokogiri (1.13.6-x86_64-linux)
|
||||||
|
racc (~> 1.4)
|
||||||
pathutil (0.16.2)
|
pathutil (0.16.2)
|
||||||
forwardable-extended (~> 2.6)
|
forwardable-extended (~> 2.6)
|
||||||
premonition (4.0.2)
|
premonition (4.0.2)
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ sudo adduser --group --system --shell /bin/false --home /opt/gancio gancio
|
|||||||
```
|
```
|
||||||
1. Install Gancio
|
1. Install Gancio
|
||||||
```bash
|
```bash
|
||||||
sudo yarn global add --silent {{site.url}}/latest.tgz
|
sudo yarn global add --network-timeout 1000000000 --silent {{site.url}}/latest.tgz
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Setup systemd service and reload systemd
|
1. Setup systemd service and reload systemd
|
||||||
@@ -78,14 +78,6 @@ sudo systemctl start gancio
|
|||||||
```bash
|
```bash
|
||||||
sudo yarn global remove gancio
|
sudo yarn global remove gancio
|
||||||
sudo yarn cache clean
|
sudo yarn cache clean
|
||||||
sudo yarn global add --silent {{site.url}}/latest.tgz
|
sudo yarn global add --network-timeout 1000000000 --silent {{site.url}}/latest.tgz
|
||||||
if the ESOCKETTIMEDOUT error occurred, run the following command
|
|
||||||
sudo yarn config set network-timeout 300000
|
|
||||||
then re-run the command
|
|
||||||
sudo yarn global add --silent {{site.url}}/latest.tgz
|
|
||||||
sudo systemctl restart gancio
|
sudo systemctl restart gancio
|
||||||
if the 502 Bad Gataway error occurred, run the following command
|
|
||||||
sudo systemctl reload nginx
|
|
||||||
then re-run the command
|
|
||||||
sudo systemctl restart gancio
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -25,12 +25,6 @@ mkdir -p /opt/gancio
|
|||||||
cd /opt/gancio
|
cd /opt/gancio
|
||||||
```
|
```
|
||||||
|
|
||||||
Download `Dockerfile` and `entrypoint.sh`:
|
|
||||||
```bash
|
|
||||||
wget {{site.url}}{% link /docker/Dockerfile %}
|
|
||||||
wget {{site.url}}{% link /docker/entrypoint.sh %}
|
|
||||||
```
|
|
||||||
|
|
||||||
Download `docker-compose.yml` choosing your preferred database dialect between `sqlite`, `postgres` and `mariadb`:
|
Download `docker-compose.yml` choosing your preferred database dialect between `sqlite`, `postgres` and `mariadb`:
|
||||||
```bash
|
```bash
|
||||||
DB=sqlite
|
DB=sqlite
|
||||||
|
|||||||
Reference in New Issue
Block a user