diff --git a/.github/workflows/Docker.yml b/.github/workflows/Docker.yml
index 03257c4c5..f61d435ce 100644
--- a/.github/workflows/Docker.yml
+++ b/.github/workflows/Docker.yml
@@ -2,7 +2,7 @@ name: ci
on:
push:
branches:
- - 'monorepo'
+ - 'main'
jobs:
docker:
diff --git a/INSTALLATION.md b/INSTALLATION.md
index 541ea7cd7..16a49397a 100644
--- a/INSTALLATION.md
+++ b/INSTALLATION.md
@@ -17,4 +17,41 @@ OpenSign application consistes of 3 components -
You can install all 3 components on digital ocean using the button below -
-[](https://cloud.digitalocean.com/apps/new?repo=https://github.com/OpenSignLabs/OpenSign/tree/monorepo&refcode=30db1c901ab0)
+[](https://cloud.digitalocean.com/apps/new?repo=https://github.com/OpenSignLabs/Deploy-OpenSign-to-Digital-Ocean/tree/main&refcode=30db1c901ab0)
+
+## You will need to create an AWS S3 bucket or digital ocean space in order to store your uploaded documents
+
+### AWS S3 -
+- Step 1 : Create a S3 bucket
+ - Login to AWS console
+ - Navigate to S3 under services
+ - Hit "Create Bucket" button on upper right corner
+ - Remove the check from "block all public access" checkbox(we need this in order to provide access to not-logged in users after OTP verification)
+ - Set bucket versioning and tags as per your requirements
+ - Hit "Create bucket" button
+- Step 2 : Create IAM user and provide access to AWS bucket
+ - Search for "IAM" on the search bar in AWS console
+ - On IAM dashboard, click the number of users(count) under IAM resources table
+ - Hit "create user" button on the upper right corner of the page
+ - Enter the user name & click next
+ - Click create policy, search for S3 and provide the Read, Write & list permissions
+ - Click next and click "Create user"
+ - Step 3 : Generate Credentials
+ - Go to IAM/Users in AWS console
+ - Hit the hyperlink for the user created in the previous step
+ - Click the "Security credentials" tab
+ - Scroll down to "Access keys" and hit "Create access key"
+ - In the next step select "Application running outside AWS"
+ - Add a description tag if needed & hit "Create access key"
+ - In the next step you will see "Access key" and "Secret Access key". Copy both the values.
+ - Set the value of "Access key" to "DO_ACCESS_KEY_ID" environment variable
+ - Set the value of "Secret Access key" to "DO_SECRET_ACCESS_KEY" environment variable
+- Step 3 : Copy bucket credentials
+ - Visit "Amazon S3 -> Buckets" in aws console
+ - Click the bucket created in previous steps & visit the properties tab
+ - Under "Bucket overview" you will find the value of AWS region(for ex. ap-south-1). Set that value to env variable "DO_REGION"
+ - You can create the value for "DO_ENDPOINT" env variable by appending the region value to amazonaws.com (for ex. s3.ap-south-1.amazonaws.com)
+ - You can create the value for "DO_BASEURL" by adding the bucketname in front of the endpoint value(for ex. https://bucketname.s3.ap-south-1.amazonaws.com)
+
+ Visit below link if you face any issues while following the above instructions -
+ - https://repost.aws/knowledge-center/create-access-key
diff --git a/README.md b/README.md
index 75f6d3032..ae55069ab 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@ The free open source alternative to DocuSign | PandaDoc | SignNow | Adobe Sign |
•
Blog
•
- Discord
+ Discord
•
Twitter
•
diff --git a/apps/OpenSign/Dockerfile b/apps/OpenSign/Dockerfile
index 09411c424..4b07ff8cc 100644
--- a/apps/OpenSign/Dockerfile
+++ b/apps/OpenSign/Dockerfile
@@ -12,6 +12,9 @@ RUN npm install
# Copy the current directory contents into the container
COPY apps/OpenSign/ .
+COPY apps/OpenSign/.husky .
+
+RUN npm run build
# Make port 3000 available to the world outside this container
EXPOSE 3000
diff --git a/apps/OpenSign/package.json b/apps/OpenSign/package.json
index bef0ebb1d..b43971733 100644
--- a/apps/OpenSign/package.json
+++ b/apps/OpenSign/package.json
@@ -45,7 +45,6 @@
"build": "CI=false && mf-cra build",
"test": "react-scripts test",
"eject": "react-scripts eject",
- "prepare": "husky install | chmod ug+x .husky/*",
"release": "standard-version",
"commit": "cz"
},
@@ -79,7 +78,6 @@
"eslint": "^8.51.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.33.2",
- "husky": "^8.0.3",
"lint-staged": "^15.0.1",
"postcss": "^8.4.31",
"prettier": "^2.8.0",
diff --git a/apps/OpenSign/src/json/ReportJson.js b/apps/OpenSign/src/json/ReportJson.js
index 1a64bed8b..0f302bb7a 100644
--- a/apps/OpenSign/src/json/ReportJson.js
+++ b/apps/OpenSign/src/json/ReportJson.js
@@ -96,7 +96,7 @@ export default function reportJson(id) {
};
case "1MwEuxLEkF":
return {
- reportName: "InProgress Document",
+ reportName: "In-progress documents",
className: "contracts_Document",
params: {
Type: { $ne: "Folder" },