From 1d391486088100ab00c8dc9a933d629873145355 Mon Sep 17 00:00:00 2001 From: StandardNotes CI Date: Mon, 16 Jan 2023 18:42:00 +0000 Subject: [PATCH 1/2] chore(release): publish - @standardnotes/desktop@3.104.87 - @standardnotes/mobile@3.50.23 - @standardnotes/releases@1.4.110 - @standardnotes/snjs@2.163.4 - @standardnotes/styles@1.7.3 - @standardnotes/ui-services@1.24.2 - @standardnotes/web@3.138.2 --- packages/desktop/CHANGELOG.md | 4 ++++ packages/desktop/package.json | 2 +- packages/mobile/CHANGELOG.md | 4 ++++ packages/mobile/package.json | 2 +- packages/releases/CHANGELOG.md | 4 ++++ packages/releases/package.json | 2 +- packages/snjs/CHANGELOG.md | 4 ++++ packages/snjs/package.json | 2 +- packages/styles/CHANGELOG.md | 4 ++++ packages/styles/package.json | 2 +- packages/ui-services/CHANGELOG.md | 4 ++++ packages/ui-services/package.json | 2 +- packages/web/CHANGELOG.md | 4 ++++ packages/web/CHANGELOG.md.json | 11 +++++++++++ packages/web/package.json | 2 +- 15 files changed, 46 insertions(+), 7 deletions(-) diff --git a/packages/desktop/CHANGELOG.md b/packages/desktop/CHANGELOG.md index 6498e6b68..bec53cbca 100644 --- a/packages/desktop/CHANGELOG.md +++ b/packages/desktop/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.104.87](https://github.com/standardnotes/app/compare/@standardnotes/desktop@3.138.1...@standardnotes/desktop@3.104.87) (2023-01-16) + +**Note:** Version bump only for package @standardnotes/desktop + ## [3.104.86](https://github.com/standardnotes/app/compare/@standardnotes/desktop@3.138.0...@standardnotes/desktop@3.104.86) (2023-01-16) **Note:** Version bump only for package @standardnotes/desktop diff --git a/packages/desktop/package.json b/packages/desktop/package.json index ef2e9a07a..ab38af24f 100644 --- a/packages/desktop/package.json +++ b/packages/desktop/package.json @@ -1,7 +1,7 @@ { "name": "@standardnotes/desktop", "main": "./app/dist/index.js", - "version": "3.104.86", + "version": "3.104.87", "license": "AGPL-3.0-or-later", "author": "Standard Notes.", "private": true, diff --git a/packages/mobile/CHANGELOG.md b/packages/mobile/CHANGELOG.md index 5c646135a..78ebc2fd9 100644 --- a/packages/mobile/CHANGELOG.md +++ b/packages/mobile/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.50.23](https://github.com/standardnotes/app/compare/@standardnotes/mobile@3.138.1...@standardnotes/mobile@3.50.23) (2023-01-16) + +**Note:** Version bump only for package @standardnotes/mobile + ## [3.50.22](https://github.com/standardnotes/app/compare/@standardnotes/mobile@3.50.21...@standardnotes/mobile@3.50.22) (2023-01-16) **Note:** Version bump only for package @standardnotes/mobile diff --git a/packages/mobile/package.json b/packages/mobile/package.json index 95b8bb6e7..757e87287 100644 --- a/packages/mobile/package.json +++ b/packages/mobile/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/mobile", - "version": "3.50.22", + "version": "3.50.23", "author": "Standard Notes.", "private": true, "license": "AGPL-3.0-or-later", diff --git a/packages/releases/CHANGELOG.md b/packages/releases/CHANGELOG.md index 7d7cda547..b1165659e 100644 --- a/packages/releases/CHANGELOG.md +++ b/packages/releases/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.4.110](https://github.com/standardnotes/app/compare/@standardnotes/releases@1.4.109...@standardnotes/releases@1.4.110) (2023-01-16) + +**Note:** Version bump only for package @standardnotes/releases + ## [1.4.109](https://github.com/standardnotes/app/compare/@standardnotes/releases@1.4.108...@standardnotes/releases@1.4.109) (2023-01-16) **Note:** Version bump only for package @standardnotes/releases diff --git a/packages/releases/package.json b/packages/releases/package.json index 9afd3ccfa..8fc8a0421 100644 --- a/packages/releases/package.json +++ b/packages/releases/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/releases", - "version": "1.4.109", + "version": "1.4.110", "license": "AGPL-3.0-or-later", "main": "dist/releases.json", "types": "dist/index.d.ts", diff --git a/packages/snjs/CHANGELOG.md b/packages/snjs/CHANGELOG.md index bde581d45..824934ba0 100644 --- a/packages/snjs/CHANGELOG.md +++ b/packages/snjs/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.163.4](https://github.com/standardnotes/app/compare/@standardnotes/snjs@2.163.3...@standardnotes/snjs@2.163.4) (2023-01-16) + +**Note:** Version bump only for package @standardnotes/snjs + ## [2.163.3](https://github.com/standardnotes/app/compare/@standardnotes/snjs@2.163.2...@standardnotes/snjs@2.163.3) (2023-01-16) **Note:** Version bump only for package @standardnotes/snjs diff --git a/packages/snjs/package.json b/packages/snjs/package.json index c53ff9437..cb19759aa 100644 --- a/packages/snjs/package.json +++ b/packages/snjs/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/snjs", - "version": "2.163.3", + "version": "2.163.4", "engines": { "node": ">=16.0.0 <17.0.0" }, diff --git a/packages/styles/CHANGELOG.md b/packages/styles/CHANGELOG.md index d0161c8df..40563b4f8 100644 --- a/packages/styles/CHANGELOG.md +++ b/packages/styles/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.3](https://github.com/standardnotes/app/compare/@standardnotes/styles@1.7.2...@standardnotes/styles@1.7.3) (2023-01-16) + +**Note:** Version bump only for package @standardnotes/styles + ## [1.7.2](https://github.com/standardnotes/app/compare/@standardnotes/styles@1.7.1...@standardnotes/styles@1.7.2) (2023-01-16) **Note:** Version bump only for package @standardnotes/styles diff --git a/packages/styles/package.json b/packages/styles/package.json index 0a7bc6dce..d1b5857f4 100644 --- a/packages/styles/package.json +++ b/packages/styles/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/styles", - "version": "1.7.2", + "version": "1.7.3", "main": "dist/index.js", "types": "dist/index.d.ts", "publishConfig": { diff --git a/packages/ui-services/CHANGELOG.md b/packages/ui-services/CHANGELOG.md index 4bf2cec2a..3099ac166 100644 --- a/packages/ui-services/CHANGELOG.md +++ b/packages/ui-services/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.24.2](https://github.com/standardnotes/app/compare/@standardnotes/ui-services@1.24.1...@standardnotes/ui-services@1.24.2) (2023-01-16) + +**Note:** Version bump only for package @standardnotes/ui-services + ## [1.24.1](https://github.com/standardnotes/app/compare/@standardnotes/ui-services@1.24.0...@standardnotes/ui-services@1.24.1) (2023-01-16) **Note:** Version bump only for package @standardnotes/ui-services diff --git a/packages/ui-services/package.json b/packages/ui-services/package.json index 0733e501a..5b9946954 100644 --- a/packages/ui-services/package.json +++ b/packages/ui-services/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/ui-services", - "version": "1.24.1", + "version": "1.24.2", "engines": { "node": ">=16.0.0 <17.0.0" }, diff --git a/packages/web/CHANGELOG.md b/packages/web/CHANGELOG.md index 1fc20ec39..42fd4ff29 100644 --- a/packages/web/CHANGELOG.md +++ b/packages/web/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.138.2](https://github.com/standardnotes/app/compare/@standardnotes/web@3.138.1...@standardnotes/web@3.138.2) (2023-01-16) + +**Note:** Version bump only for package @standardnotes/web + ## [3.138.1](https://github.com/standardnotes/app/compare/@standardnotes/web@3.138.0...@standardnotes/web@3.138.1) (2023-01-16) ### Bug Fixes diff --git a/packages/web/CHANGELOG.md.json b/packages/web/CHANGELOG.md.json index 5ddf029be..101ccf7fc 100644 --- a/packages/web/CHANGELOG.md.json +++ b/packages/web/CHANGELOG.md.json @@ -1,5 +1,16 @@ { "versions": [ + { + "version": "3.138.2", + "title": "[3.138.2](https://github.com/standardnotes/app/compare/@standardnotes/web@3.138.1...@standardnotes/web@3.138.2) (2023-01-16)", + "date": null, + "body": "**Note:** Version bump only for package @standardnotes/web", + "parsed": { + "_": [ + "Note: Version bump only for package @standardnotes/web" + ] + } + }, { "version": "3.138.1", "title": "[3.138.1](https://github.com/standardnotes/app/compare/@standardnotes/web@3.138.0...@standardnotes/web@3.138.1) (2023-01-16)", diff --git a/packages/web/package.json b/packages/web/package.json index 91e1f2cfe..b098c3aef 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/web", - "version": "3.138.1", + "version": "3.138.2", "license": "AGPL-3.0-or-later", "main": "dist/app.js", "author": "Standard Notes.", From 3b66448ece1bd25f2a26c338ee3bff3cfc7f9fe4 Mon Sep 17 00:00:00 2001 From: moughxyz Date: Mon, 16 Jan 2023 12:44:57 -0600 Subject: [PATCH 2/2] docs: improve docker guide --- packages/docs/docs/self-hosting/docker.md | 24 +++++++++++------------ 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/packages/docs/docs/self-hosting/docker.md b/packages/docs/docs/self-hosting/docker.md index aabfe764a..a6bda7fb3 100644 --- a/packages/docs/docs/self-hosting/docker.md +++ b/packages/docs/docs/self-hosting/docker.md @@ -21,6 +21,8 @@ This guide walks you through the process of installing the self-hosted backend o Due to mounted volumes, we recommend running the setup as a root user. If you wish to run it as a non-root user, please see Docker's [post-installation steps for Linux](https://docs.docker.com/engine/install/linux-postinstall#manage-docker-as-a-non-root-user). +If you're self-hosting on an OS other than Linux, skip to the [installation](/self-hosting/docker#install-standard-notes) instructions below. + ## Prerequisities 1. Update your `apt` repositories and upgrade any out-of-date packages: @@ -168,29 +170,25 @@ Due to mounted volumes, we recommend running the setup as a root user. If you wi ./server.sh generate-keys ``` -1. (Optional) Restart the server: +2. **Customize ports and endpoints**: + - By default, the server will run on port `3000`. If you have a different service running on that port, you can customize the port on which you want to run the infrastructure by editing the `EXPOSED_PORT` variable in the `.env` file. + - Edit `FILES_SERVER_URL` to the final public-facing URL of your server. For example, if you are self-hosting on a server on your local network which you know has an IP of 10.0.1.2, set this value to http://10.0.1.2:3125. Read more about [configuring your setup for files.](/self-hosting/file-uploads) + +3. Start the Standard Notes server process: ```shell - reboot - ``` - -1. (Optional) By default, the syncing server will run on port `3000`. If you have a different service running on that port, you can customize the port on which you want to run the infrastructure by editing the `EXPOSED_PORT` variable in the `.env` file. -1. Once the server has finished rebooting, log back into the server and start the Standard Notes server process: - - ```shell - cd self-hosted ./server.sh start ``` Docker will start outputting lots of information about the containers it is pulling in and installing. This process took about 8 minutes on a Ubuntu 20.04 server with 2GB RAM and 1 CPU. -1. Once Docker has finished installing, the Standard Notes install script will output: +4. Once Docker has finished installing, the Standard Notes install script will output: ```plaintext Infrastructure started. Give it a moment to warm up. If you wish, please run the './server.sh logs' command to see details. ``` -1. Check the status of your server: +5. Check the status of your server: ```shell ./server.sh status @@ -213,7 +211,7 @@ Due to mounted volumes, we recommend running the setup as a root user. If you wi Your Standard Notes server is ready once all the services have a `STATUS` of `Up`. This process took about 11 minutes on a Ubuntu 20.04 server with 2GB RAM and 1 CPU. If you want to control when this process finishes you can run `./server.sh wait-for-startup`. -1. You should be able now to check that the syncing server is running by checking `http://localhost:3000/healthcheck`. You must do this on the server: +6. You should be able now to check that the syncing server is running by checking `http://localhost:3000/healthcheck`. You must do this on the server: ```bash curl http://localhost:3000/healthcheck @@ -222,7 +220,7 @@ Due to mounted volumes, we recommend running the setup as a root user. If you wi If you changed the `EXPOSED_PORT` variable, check `http://localhost:{EXPOSED_PORT}/healthcheck`. -1. You're done! +7. You're done! ## Securing your server