feat: Automatic plaintext backup option in Preferences > Backups will backup your notes and tags into plaintext, unencrypted folders on your computer. In addition, automatic encrypted text backups preference management has moved from the top-level menu in the desktop app to Preferences > Backups. (#2322)
This commit is contained in:
@@ -1,51 +1,17 @@
|
||||
# Standard Notes
|
||||
|
||||
<div align="center">
|
||||
|
||||
[](https://twitter.com/standardnotes)
|
||||
|
||||
</div>
|
||||
|
||||
This application makes use of the core JS/CSS/HTML code found in the [web repo](https://github.com/standardnotes/app). For issues related to the actual app experience, please post issues in the web repo.
|
||||
# Standard Notes Desktop App
|
||||
|
||||
## Running Locally
|
||||
|
||||
Make sure [Yarn](https://classic.yarnpkg.com/en/) is installed on your system.
|
||||
Most commands below hog up a terminal process and must be conducted in different tabs. Be sure to quit any production version of the app running on your system first.
|
||||
|
||||
```bash
|
||||
yarn install
|
||||
yarn build:web # Or `yarn dev:web`
|
||||
yarn dev
|
||||
|
||||
# In another terminal
|
||||
yarn start
|
||||
cd packages/snjs && yarn start # optional to watch snjs changes
|
||||
cd packages/web && yarn watch # optional to watch web changes
|
||||
yarn dev # to start compilation watch process for electron-related code
|
||||
yarn start # to start dev app
|
||||
```
|
||||
|
||||
We use [commitlint](https://github.com/conventional-changelog/commitlint) to validate commit messages.
|
||||
Before making a pull request, make sure to check the output of the following commands:
|
||||
|
||||
```bash
|
||||
yarn lint
|
||||
yarn test # Make sure to start `yarn dev` before running the tests, and quit any running Standard Notes applications so they don't conflict.
|
||||
```
|
||||
|
||||
Pull requests should target the `develop` branch.
|
||||
|
||||
### Installing dependencies
|
||||
|
||||
To determine where to install a dependency:
|
||||
|
||||
- If it is only required for building, install it in `package.json`'s `devDependencies`
|
||||
- If it is required at runtime but can be packaged by webpack, install it in `package.json`'s `dependencies`.
|
||||
- If it must be distributed as a node module (not packaged by webpack), install it in `app/package.json`'s `dependencies`
|
||||
- Also make sure to declare it as an external commonjs dependency in `webpack.common.js`.
|
||||
|
||||
## Building
|
||||
|
||||
Build for all platforms:
|
||||
|
||||
- `yarn release`
|
||||
|
||||
## Building natively on arm64
|
||||
|
||||
Building arm64 releases on amd64 systems is only possible with AppImage, Debian and universal "dir" targets.
|
||||
@@ -63,14 +29,6 @@ and making sure `$GEM_HOME/bin` is added to `$PATH`.
|
||||
|
||||
Snap releases also require a working snapcraft / `snapd` installation.
|
||||
|
||||
Building can then be done by running:
|
||||
|
||||
- `yarn install`
|
||||
|
||||
Followed by
|
||||
|
||||
- `node scripts/build.mjs deb-arm64`
|
||||
|
||||
## Installation
|
||||
|
||||
On Linux, download the latest AppImage from the [Releases](https://github.com/standardnotes/app/releases/latest) page, and give it executable permission:
|
||||
|
||||
Reference in New Issue
Block a user