A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
chore: make ready for deployment
thecodrrebd655e0ae79
diff --git a/apps/web/package.json b/apps/web/package.jsonindex 7345bc91b..ee6f46995 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -64,6 +64,7 @@"preinstall": "chmod +x ./scripts/ci.sh && ./scripts/ci.sh","start": "REACT_APP_CI=true react-scripts start","build": "REACT_APP_CI=true react-scripts build",+ "deploy": "./scripts/deploy.sh","debug": "BROWSER=none react-scripts start","test": "REACT_APP_CI=true BROWSER= jest --runInBand -c jest.e2e.config.js","eject": "react-scripts eject",diff --git a/apps/web/public/apple-app-site-association b/apps/web/public/apple-app-site-associationnew file mode 100644index 000000000..518a282ea--- /dev/null+++ b/apps/web/public/apple-app-site-association@@ -0,0 +1,11 @@+{+ "applinks:{+ "apps":[],+ "details":[+ {+ "appID":"com.streetwriters.notesnook",+ "paths":["*]+ }+ ]+ }+}\ No newline at end of filediff --git a/apps/web/scripts/deploy.sh b/apps/web/scripts/deploy.shnew file mode 100755index 000000000..20bc1cc01--- /dev/null+++ b/apps/web/scripts/deploy.sh@@ -0,0 +1,3 @@+yarn build++rsync -aPzz ./build/* [email protected]:/home/thecodrr/app.notesnook.com/public_html --delete\ No newline at end of filediff --git a/apps/web/src/common/index.js b/apps/web/src/common/index.jsindex d028f0623..0bd32f509 100644--- a/apps/web/src/common/index.js+++ b/apps/web/src/common/index.js@@ -13,19 +13,24 @@ import { store as userstore } from "../stores/user-store";import { hashNavigate } from "../navigation";export const db = new Database(StorageInterface, EventSource);+// db.host({// API_HOST: "https://api.notesnook.com",// AUTH_HOST: "https://auth.streetwriters.co",// SSE_HOST: "https://events.streetwriters.co",// });++// db.host({+// API_HOST: "http://localhost:5264",+// AUTH_HOST: "http://localhost:8264",+// SSE_HOST: "http://localhost:7264",+// });+db.host({- API_HOST: "http://localhost:5264",- AUTH_HOST: "http://localhost:8264",- SSE_HOST: "http://localhost:7264",+ API_HOST: "http://192.168.10.8:5264",+ AUTH_HOST: "http://192.168.10.8:8264",+ SSE_HOST: "http://192.168.10.8:7264",});-//db.host("http://192.168.10.5:8100");-// db.host();-//db.host("https://api.notesnook.com");export const COLORS = {red: "#f44336",