Skip to content
Reimplementation of the metadata parts of SayMore, this time as a cross-platform electron app
TypeScript JavaScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE
.vscode
app
assets
build
design
internals/mocks
locale
sample data/Edolo sample
test
.gitignore
.linguirc
.npmrc
.prettierrc
.travis.yml
LICENSE
README-l10n.md
README.md
babel.config.js
package.json
sentry.properties
server.js
setup.js
tsconfig.json
tslint.json
webpack.config.base.js
webpack.config.eslint.js
webpack.config.main.js
webpack.config.renderer.development.js
webpack.config.renderer.production.js
webpack.config.test.js
yarn.lock

README.md

SayMore X is a reboot of SayMore (c# winforms) as a web app wrapped in electron, so that it can be used on Macs (and Windows, and Linux). The stack is Typescript, react, and mobx, ,built with webpack.

Get Started

Install node, yarn, then

$ yarn
$ yarn lingui-compile
$ yarn dev

Packaging

To package apps for the local platform:

$ npm run package

To package apps for all platforms:

First, refer to Multi Platform Build for dependencies.

Then,

$ npm run package-all

To package apps with options:

$ npm run package -- --[option]

More information available in the upstream project: electron-react-typescript-boilerplate

Troubleshooting

unit tests

When running e2e tests, there is occasionally a mystery error that won't go away, even if you got back to previous commits were unit tests were running. It goes away with a restart, git clean -dxf && yarn && yarn test. Make sure everything is committed first!

If you see something like TypeError: beforeAll is not a function, that is caused by explicitly defining of the jest functions, as in const { describe, it, beforeEach, afterEach } = require("jest"); Just remove that.

l10n

When running Saymore, if you see this in the Chrome debug console:

Uncaught Error: Cannot find module './en/messages.js'

then you need to do yarn lingui-compile.

License

MIT

You can’t perform that action at this time.