Skip to content

Commit 431430f

Browse files
Merge branch 'main' into branch_nova
Signed-off-by: Isaac Pimentel <[email protected]>
2 parents 1e564f4 + 85d2be8 commit 431430f

File tree

10 files changed

+144
-27
lines changed

10 files changed

+144
-27
lines changed

.docker/php/Dockerfile

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,9 @@
11
FROM php:8.3-fpm
22

3-
ARG NODE_MAJOR=20
4-
53
RUN apt-get update \
64
&& apt-get install -y \
75
git \
86
espeak-ng \
9-
# Install node
10-
ca-certificates \
11-
curl \
12-
gnupg \
13-
# see https://github.com/nodesource/distributions
14-
&& mkdir -p /etc/apt/keyrings \
15-
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
16-
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
17-
&& apt-get update \
18-
&& apt-get install nodejs -y \
19-
&& node --version \
20-
&& npm --version \
217
# Clean package cache
228
&& rm -rf /var/lib/apt/lists/*
239

@@ -33,6 +19,17 @@ RUN chmod uga+x /usr/local/bin/install-php-extensions && sync \
3319

3420
COPY xdebug.ini /usr/local/etc/php/conf.d/
3521

22+
# Install NVM
23+
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash \
24+
&& export NVM_DIR="/root/.nvm" \
25+
&& . "$NVM_DIR/nvm.sh" \
26+
&& nvm install 20 \
27+
&& nvm alias default 20
28+
29+
ENV NVM_DIR /root/.nvm
30+
ENV NODE_PATH $NVM_DIR/v20/lib/node_modules
31+
ENV PATH $NVM_DIR/v20/bin:$PATH
32+
3633
RUN echo "alias jigsaw=./vendor/bin/jigsaw" >> /etc/bash.bashrc && \
3734
echo "alias compile='./vendor/bin/jigsaw build'" >> /etc/bash.bashrc && \
3835
/bin/bash -c "source /etc/bash.bashrc"

.docker/php/entrypoint.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
. "$NVM_DIR/nvm.sh"
4+
35
# Set uid of host machine
46
usermod --non-unique --uid "${HOST_UID}" www-data
57
groupmod --non-unique --gid "${HOST_GID}" www-data
@@ -12,4 +14,4 @@ if [[ "$SERVER_MODE" == 'watch' ]]; then
1214
npm run watch
1315
else
1416
php ./vendor/bin/jigsaw serve --host 0.0.0.0 --port 3000
15-
fi
17+
fi

docker-compose.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ services:
55
ports:
66
- 127.0.0.1:${HTTP_PORT:-80}:80
77
volumes:
8-
- .docker/nginx/:/etc/nginx/conf.d/
8+
- .docker/nginx/:/etc/nginx/conf.d/
99
- ./build_local:/var/www/html
1010

1111
php:
1212
build:
1313
context: .docker/php
14-
args:
15-
- NODE_MAJOR=${NODE_MAJOR:-20}
1614
ports:
1715
- "127.0.0.1:${HTTP_PORT:-3000}:3000"
1816
- "127.0.0.1:${HTTP_PORT_BROWSERSYNC:-3001}:3001"
@@ -29,4 +27,4 @@ services:
2927
- ASSIGNED_USER_ID=${ASSIGNED_USER_ID:-123}
3028
- CAMPAIGN_ID=${CAMPAIGN_ID:-123}
3129
- URL_SUITECRM=${URL_SUITECRM:-123}
32-
- URL_SITE=${URL_SITE:-http://localhost}
30+
- URL_SITE=${URL_SITE:-http://localhost}

lang/en/main.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@
6060
"Legal validity of electronic signatures in Brazil and around the world": "Legal validity of electronic signatures in Brazil and around the world",
6161
"Let’s talk about digitally signing your documents!": "Let’s talk about digitally signing your documents!",
6262
"LibreCode, a Brazilian cooperative of free software developers.": "LibreCode, a Brazilian cooperative of free software developers.",
63+
"LibreSign GitHub repository": "LibreSign GitHub repository",
64+
"LibreSign Instagram profile": "LibreSign Instagram profile",
65+
"LibreSign LinkedIn page": "LibreSign LinkedIn page",
66+
"LibreSign Telegram group": "LibreSign Telegram group",
6367
"LibreSign allows documents to be signed securely and with legal validity, since the system generates hashing - an algorithm that ensures that the file has not been altered after being signed - as well as numbers and records the times of each signature carried out in the document. In this way, the system meets all the requirements of the GDPR - General Data Protection Law.": "LibreSign allows documents to be signed securely and with legal validity, since the system generates hashing - an algorithm that ensures that the file has not been altered after being signed - as well as numbers and records the times of each signature carried out in the document. In this way, the system meets all the requirements of the GDPR - General Data Protection Law.",
6468
"LibreSign frequently asked questions": "LibreSign frequently asked questions",
6569
"LibreSign is a web application for electronic signatures (e-Sign) developed by the LibreCode cooperative (Brazilian cooperative specialized in free software development). Its development began at the beginning of 2020, in the midst of the pandemic, when people and companies were migrating their physical documentation to digital, and then there was a need to develop a web solution that could offer the possibility of signing documents, contracts and proposals online with security and agility.": "LibreSign is a web application for electronic signatures (e-Sign) developed by the LibreCode cooperative (Brazilian cooperative specialized in free software development). Its development began at the beginning of 2020, in the midst of the pandemic, when people and companies were migrating their physical documentation to digital, and then there was a need to develop a web solution that could offer the possibility of signing documents, contracts and proposals online with security and agility.",
@@ -79,6 +83,7 @@
7983
"Our Pricing Plans": "Our Pricing Plans",
8084
"Our electronic signature and document management solution streamline workflows, reducing time spent on manual processes. Achieve greater productivity, promote document security, and ensure compliance with the General Data Protection Law (GDPR), providing an agile experience for your clients and collaborators.": "Our electronic signature and document management solution streamline workflows, reducing time spent on manual processes. Achieve greater productivity, promote document security, and ensure compliance with the General Data Protection Law (GDPR), providing an agile experience for your clients and collaborators.",
8185
"Outros Contatos": "Outros Contatos",
86+
"Page to national movement that valozie cooperative initiatives.": "Page to national movement that valozie cooperative initiatives.",
8287
"Phone": "Phone",
8388
"Posts": "Posts",
8489
"Pricing": "Pricing",
@@ -106,6 +111,7 @@
106111
"Thank you!": "Thank you!",
107112
"The Digital Revolution in Public Administration - Integrating e-Cidade with LibreSign": "The Digital Revolution in Public Administration - Integrating e-Cidade with LibreSign",
108113
"The perfect tool to manage the signature flow of your documents": "The perfect tool to manage the signature flow of your documents",
114+
"Toggle navigation menu": "Toggle navigation menu",
109115
"Transform document management in public organizations with LibreSign, monitoring signatures in real time, sending automatic reminders and optimizing your team's efficiency. Try our solution for transparent and productive administration.": "Transform document management in public organizations with LibreSign, monitoring signatures in real time, sending automatic reminders and optimizing your team's efficiency. Try our solution for transparent and productive administration.",
110116
"Transform your processes with more security and efficiency": "Transform your processes with more security and efficiency",
111117
"Type the code below": "Type the code below",

lang/fr/main.json

Lines changed: 14 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)