The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
typo: /ressources >> /resources
Doug Andradeb928993510b9
diff --git a/README.md b/README.mdindex 26316054f..0861312fb 100644--- a/README.md+++ b/README.md@@ -78,8 +78,6 @@ The current project goal is to <b>[release a production ready version](https://g- To contribute please see our [contribution guide](https://github.com/documenso/documenso/blob/main/CONTRIBUTING.md).--# TechDocumenso is built using awesome open source tech including:@@ -123,7 +121,7 @@ Want to get up and running quickly? Follow these steps:- This will spin up a postgres database and inbucket mail server in docker containers.- Run `npm run dev` in the root directory- Want it even faster? Just use- ```sh+ ```shnpm run d```@@ -157,10 +155,10 @@ Follow these steps to setup documenso on you local machine:---- Optional: Seed the database using <code>npm run db-seed</code> to create a test user and document-- Optional: Upload and sign <code>apps/web/ressources/example.pdf</code> manually to test your setup+- Optional: Upload and sign <code>apps/web/resources/example.pdf</code> manually to test your setup- Optional: Create your own signing certificate- - A demo certificate is provided in `/app/web/ressources/certificate.p12`+ - A demo certificate is provided in `/app/web/resources/certificate.p12`- To generate your own using these steps and a Linux Terminal or Windows Subsystem for Linux (WSL) see **[Create your own signing certificate](#creating-your-own-signing-certificate)**.## Updating@@ -185,7 +183,7 @@ For the digital signature of your documents you need a signing certificate in .p3. Combine the private key and the self-signed certificate to create the p12 certificate. You can run the following command to do this: \<code>openssl pkcs12 -export -out certificate.p12 -inkey private.key -in certificate.crt</code>4. You will be prompted to enter a password for the p12 file. Choose a strong password and remember it, as you will need it to use the certificate (**can be empty for dev certificates**)-5. Place the certificate <code>/apps/web/ressource/certificate.p12</code>+5. Place the certificate <code>/apps/web/resources/certificate.p12</code># Dockerdiff --git a/apps/web/ressources/certificate.p12 b/apps/web/resources/certificate.p12similarity index 100%rename from apps/web/ressources/certificate.p12rename to apps/web/resources/certificate.p12diff --git a/apps/web/ressources/example.pdf b/apps/web/resources/example.pdfsimilarity index 100%rename from apps/web/ressources/example.pdfrename to apps/web/resources/example.pdfdiff --git a/packages/signing/addDigitalSignature.ts b/packages/signing/addDigitalSignature.tsindex f4f565c8f..8bd219bb5 100644--- a/packages/signing/addDigitalSignature.ts+++ b/packages/signing/addDigitalSignature.ts@@ -10,7 +10,7 @@ export const addDigitalSignature = async (documentAsBase64: string): Promise<strconst pdfBuffer = Buffer.from(documentAsBase64, "base64");const p12Buffer = Buffer.from(fs- .readFileSync(process.env.CERT_FILE_PATH || "ressources/certificate.p12")+ .readFileSync(process.env.CERT_FILE_PATH || "resources/certificate.p12").toString(process.env.CERT_FILE_ENCODING ? undefined : "binary"),(process.env.CERT_FILE_ENCODING as BufferEncoding) || "binary");